diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-19 01:21:28 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-19 02:09:49 +0900 |
| commit | 98974136648935143298c0e0a01714bb146909f1 (patch) | |
| tree | b42ad91ef652d4d86eb03d56cbda063caf0d0b78 /backend/admin/templates/dashboard.html | |
| parent | 0ad3546aa69d2269e5d739e9b62bc956e95e7f6e (diff) | |
| download | iosdc-japan-2024-albatross-98974136648935143298c0e0a01714bb146909f1.tar.gz iosdc-japan-2024-albatross-98974136648935143298c0e0a01714bb146909f1.tar.zst iosdc-japan-2024-albatross-98974136648935143298c0e0a01714bb146909f1.zip | |
refactor(backend): do not hard-code base path
Diffstat (limited to 'backend/admin/templates/dashboard.html')
| -rw-r--r-- | backend/admin/templates/dashboard.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/admin/templates/dashboard.html b/backend/admin/templates/dashboard.html index b2037cb..15b10ff 100644 --- a/backend/admin/templates/dashboard.html +++ b/backend/admin/templates/dashboard.html @@ -2,12 +2,12 @@ {{ define "content" }} <p> - <a href="/iosdc-japan/2024/code-battle/admin/users">Users</a> + <a href="{{ .BasePath }}/admin/users">Users</a> </p> <p> - <a href="/iosdc-japan/2024/code-battle/admin/games">Games</a> + <a href="{{ .BasePath }}/admin/games">Games</a> </p> -<form method="post" action="/iosdc-japan/2024/code-battle/logout"> +<form method="post" action="{{ .BasePath }}/logout"> <button type="submit">Logout</button> </form> {{ end }} |
