summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2025-04-12 18:41:07 +0200
committerJulian Hurst <ark@mansus.space>2025-04-12 18:41:07 +0200
commite1eeda1202b623bede0c364e00a244b298a4e265 (patch)
tree8bc5a5640f9c979433467f87891395180d8cc265 /templates/index.html
parenteba58c95becee5f9a9e3d6d191d525fcf18d55fd (diff)
downloadbox-e1eeda1202b623bede0c364e00a244b298a4e265.tar.gz
Update getindex path to avoid nginx 301list
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index 0a65520..789cfac 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -69,7 +69,7 @@
/>
</head>
<body>
- <button hx-get="{{.ProxyPrefix}}/getindex" hx-headers='js:{"X-Token": gettoken()}' hx-target="#index">list</button>
+ <button hx-get="{{.ProxyPrefix}}/getindex/" hx-headers='js:{"X-Token": gettoken()}' hx-target="#index">list</button>
<div id="index"></div>
<pre>
_