From b07002fbfa13a20251cf2ee1ca31d59eede19c7c Mon Sep 17 00:00:00 2001 From: Emile <hanemile@protonmail.com> Date: Sun, 22 Mar 2020 16:01:24 +0100 Subject: query argument order --- hosted/tmpl/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosted/tmpl') diff --git a/hosted/tmpl/index.html b/hosted/tmpl/index.html index c8482b2..2c781fd 100644 --- a/hosted/tmpl/index.html +++ b/hosted/tmpl/index.html @@ -211,7 +211,7 @@ <tr class="file"> <td></td> <td> - <a href="{{html .URL}}{{if $item.Download}}?download{{end}}"> + <a href="{{html $item.URL}}?hash={{$item.SaltedHash}}{{if $item.Download}}&download=true{{end}}{{if $item.Viewable}}&view=true{{end}}"> {{- if $item.IsDir}} <svg width="1.5em" height="1em" version="1.1" viewBox="0 0 317 259"> <use xlink:href="#folder{{if $item.IsSymlink}}-shortcut{{end}}"></use> -- cgit 1.4.1