diff options
author | Micah Lee <micah@micahflee.com> | 2019-05-10 14:04:13 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-05-10 14:04:13 -0700 |
commit | 818f2bac2c792f5c99c6442c1a5dc4126be64915 (patch) | |
tree | db36bc30ba4e4333a2eda05a9dc5cc8a53c7c7d6 /share | |
parent | 65a7a1790c54f3986d7d6683e06dc1092fff2e6c (diff) | |
download | onionshare-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.html | 6 |
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>—</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> |