aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2023-01-24 16:18:06 +0100
committerJulian Hurst <ark@mansus.space>2023-01-24 16:18:06 +0100
commitbe313b019025089acd87462bb0587fa363659bcf (patch)
tree1391a970f53b5c7a0329b6d7fc195358420cc54b
parent6b21dcbbdeca0ba583cb427646e050f4f721f550 (diff)
downloadautoindex-be313b019025089acd87462bb0587fa363659bcf.tar.gz
index.html: Use relative path in href
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index 81de88d..e4f9d3e 100644
--- a/index.html
+++ b/index.html
@@ -50,7 +50,7 @@ div {
<a href="{{.CurrentPath}}">.</a>
</td>
<td>
- [<a href="http://localhost:8080/gzarchive{{.CurrentPath}}">gzip</a>]
+ [<a href="/gzarchive{{.CurrentPath}}">gzip</a>]
[<a href="/tararchive{{.CurrentPath}}">tar</a>]
</td>
<td></td>