diff options
| author | Julian Hurst <ark@mansus.space> | 2025-04-12 18:41:07 +0200 |
|---|---|---|
| committer | Julian Hurst <ark@mansus.space> | 2025-04-12 18:41:07 +0200 |
| commit | e1eeda1202b623bede0c364e00a244b298a4e265 (patch) | |
| tree | 8bc5a5640f9c979433467f87891395180d8cc265 | |
| parent | eba58c95becee5f9a9e3d6d191d525fcf18d55fd (diff) | |
| download | box-e1eeda1202b623bede0c364e00a244b298a4e265.tar.gz | |
Update getindex path to avoid nginx 301list
| -rw-r--r-- | templates/index.html | 2 |
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> _ |
