aboutsummaryrefslogtreecommitdiff
path: root/templates/imgs_page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/imgs_page.html')
-rw-r--r--templates/imgs_page.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/imgs_page.html b/templates/imgs_page.html
index 3aa6bfa..74df9a3 100644
--- a/templates/imgs_page.html
+++ b/templates/imgs_page.html
@@ -2,11 +2,11 @@
{{range $i, $img := .Data.Imgs}}
{{if eq (add $i $.Data.Start) $.Data.End}}
{{if ne $.Data.UserImpersonation ""}}
- <div hx-get="/imgs?page={{add $.Data.Page 1}}&fragment&user={{$.Data.UserImpersonation}}"
+ <div hx-get="{{.ROOT}}/imgs?page={{add $.Data.Page 1}}&fragment&user={{$.Data.UserImpersonation}}"
hx-trigger="revealed"
hx-swap="afterend">
{{else}}
- <div hx-get="/imgs?page={{add $.Data.Page 1}}&fragment"
+ <div hx-get="{{.ROOT}}/imgs?page={{add $.Data.Page 1}}&fragment"
hx-trigger="revealed"
hx-swap="afterend">
{{end}}