diff options
| author | Julian Hurst <ark@mansus.space> | 2025-04-10 02:11:31 +0200 |
|---|---|---|
| committer | Julian Hurst <ark@mansus.space> | 2025-04-10 02:11:31 +0200 |
| commit | eba58c95becee5f9a9e3d6d191d525fcf18d55fd (patch) | |
| tree | 448ef9a9225ffaa6134d19ddf6f29df0eb609917 | |
| parent | 23cb2471dc5930ed3dc157bd2f47af60e236eaae (diff) | |
| download | box-eba58c95becee5f9a9e3d6d191d525fcf18d55fd.tar.gz | |
Fix proxyprefix for /getindex
| -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 7c77e8e..0a65520 100644 --- a/templates/index.html +++ b/templates/index.html @@ -69,7 +69,7 @@ /> </head> <body> - <button hx-get="/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> _ |
