aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/games.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-06 10:16:31 +0900
committernsfisis <nsfisis@gmail.com>2025-09-06 10:16:33 +0900
commitabb9d17e79405cbee8bb98887b457d2a7e215ba9 (patch)
tree85dd6645cda1740c51234f292fc2a7d9bb32e880 /backend/admin/templates/games.html
parent3e77bb9ee1aabab22138de9850d8bd434eda6d91 (diff)
downloadiosdc-japan-2025-albatross-abb9d17e79405cbee8bb98887b457d2a7e215ba9.tar.gz
iosdc-japan-2025-albatross-abb9d17e79405cbee8bb98887b457d2a7e215ba9.tar.zst
iosdc-japan-2025-albatross-abb9d17e79405cbee8bb98887b457d2a7e215ba9.zip
fix(backend): duplicate slashes in some URLs
Diffstat (limited to 'backend/admin/templates/games.html')
-rw-r--r--backend/admin/templates/games.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/admin/templates/games.html b/backend/admin/templates/games.html
index 402c702..d642f07 100644
--- a/backend/admin/templates/games.html
+++ b/backend/admin/templates/games.html
@@ -11,15 +11,15 @@
<ul>
{{ range .Games }}
<li>
- <a href="{{ $.BasePath }}/admin/games/{{ .GameID }}">
+ <a href="{{ $.BasePath }}admin/games/{{ .GameID }}">
{{ .DisplayName }} (id={{ .GameID }} type={{ .GameType }} {{ if not .IsPublic }}private{{ end }})
</a>
<ul>
{{ if .IsPublic }}
- <li><a href="{{ $.BasePath }}/golf/{{ .GameID }}/play">Play</a></li>
+ <li><a href="{{ $.BasePath }}golf/{{ .GameID }}/play">Play</a></li>
{{ end }}
{{ if .IsPublic }}
- <li><a href="{{ $.BasePath }}/golf/{{ .GameID }}/watch">Watch</a></li>
+ <li><a href="{{ $.BasePath }}golf/{{ .GameID }}/watch">Watch</a></li>
{{ end }}
</ul>
</li>