diff options
author | Emile <hanemile@protonmail.com> | 2020-03-22 16:01:24 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-03-22 16:01:24 +0100 |
commit | b07002fbfa13a20251cf2ee1ca31d59eede19c7c (patch) | |
tree | 32a41e922a6dc962f06f13ac64203689158b49d1 | |
parent | c9b84044f4371442adad4830a9b35cdb86caa33f (diff) |
query argument order
-rw-r--r-- | hosted/tmpl/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
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> |