about summary refs log tree commit diff
path: root/hosted/tmpl/index.html
diff options
context:
space:
mode:
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>