summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-05-10 14:04:13 -0700
committerMicah Lee <micah@micahflee.com>2019-05-10 14:04:13 -0700
commit818f2bac2c792f5c99c6442c1a5dc4126be64915 (patch)
treedb36bc30ba4e4333a2eda05a9dc5cc8a53c7c7d6 /share
parent65a7a1790c54f3986d7d6683e06dc1092fff2e6c (diff)
downloadonionshare-818f2bac2c792f5c99c6442c1a5dc4126be64915.tar.gz
onionshare-818f2bac2c792f5c99c6442c1a5dc4126be64915.zip
Make it so directory listings work, including root directory listing
Diffstat (limited to 'share')
-rw-r--r--share/templates/listing.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/templates/listing.html b/share/templates/listing.html
index 8bb4062d..8883eea9 100644
--- a/share/templates/listing.html
+++ b/share/templates/listing.html
@@ -23,11 +23,11 @@
<tr>
<td>
<img width="30" height="30" title="" alt="" src="/static/img/web_folder.png" />
- <a href="/{{ path }}/{{ info.basename }}">
+ <a href="{{ info.basename }}">
{{ info.basename }}
</a>
</td>
- <td></td>
+ <td>&mdash;</td>
</tr>
{% endfor %}
@@ -35,7 +35,7 @@
<tr>
<td>
<img width="30" height="30" title="" alt="" src="/static/img/web_file.png" />
- <a href="/{{ path }}/{{ info.basename }}">
+ <a href="{{ info.basename }}">
{{ info.basename }}
</a>
</td>