about summary refs log tree commit diff
path: root/hosted/tmpl/index.html
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-22 16:01:24 +0100
committerEmile <hanemile@protonmail.com>2020-03-22 16:01:24 +0100
commitb07002fbfa13a20251cf2ee1ca31d59eede19c7c (patch)
tree32a41e922a6dc962f06f13ac64203689158b49d1 /hosted/tmpl/index.html
parentc9b84044f4371442adad4830a9b35cdb86caa33f (diff)
query argument order
Diffstat (limited to 'hosted/tmpl/index.html')
-rw-r--r--hosted/tmpl/index.html2
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>