aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/dashboard.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-14 22:31:32 +0900
committernsfisis <nsfisis@gmail.com>2025-08-14 22:44:16 +0900
commitbf3b2b2f5fdfe4d54226b59ce82378e4a77dc700 (patch)
treee8d6eaeab9ae28f1c66e530cbeed483db08a7098 /backend/admin/templates/dashboard.html
parent948d7e6596bc4a37c8d7903e785e099b6a81a664 (diff)
downloadiosdc-japan-2025-albatross-bf3b2b2f5fdfe4d54226b59ce82378e4a77dc700.tar.gz
iosdc-japan-2025-albatross-bf3b2b2f5fdfe4d54226b59ce82378e4a77dc700.tar.zst
iosdc-japan-2025-albatross-bf3b2b2f5fdfe4d54226b59ce82378e4a77dc700.zip
feat(backend,frontend): Replace hard-coded base path with environment variable
Diffstat (limited to 'backend/admin/templates/dashboard.html')
-rw-r--r--backend/admin/templates/dashboard.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/backend/admin/templates/dashboard.html b/backend/admin/templates/dashboard.html
index 92133b6..dcc71ba 100644
--- a/backend/admin/templates/dashboard.html
+++ b/backend/admin/templates/dashboard.html
@@ -2,18 +2,18 @@
{{ define "content" }}
<p>
- <a href="{{ .BasePath }}/admin/users">Users</a>
+ <a href="{{ .BasePath }}admin/users">Users</a>
</p>
<p>
- <a href="{{ .BasePath }}/admin/games">Games</a>
+ <a href="{{ .BasePath }}admin/games">Games</a>
</p>
<p>
- <a href="{{ .BasePath }}/admin/online-qualifying-ranking?game_1=7&game_2=8">Online Qualifying Ranking</a>
+ <a href="{{ .BasePath }}admin/online-qualifying-ranking?game_1=7&game_2=8">Online Qualifying Ranking</a>
</p>
-<form method="post" action="{{ .BasePath }}/admin/fix">
+<form method="post" action="{{ .BasePath }}admin/fix">
<button type="submit">fix</button>
</form>
-<form method="post" action="{{ .BasePath }}/logout">
+<form method="post" action="{{ .BasePath }}logout">
<button type="submit">Logout</button>
</form>
{{ end }}