aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-21 16:42:33 +0900
committernsfisis <nsfisis@gmail.com>2024-07-21 16:42:43 +0900
commite3373eb48b8cd5eef61a59d8ff590db184612294 (patch)
treee9b0af769f858a49b88cb7c06eccd4d7e0518fc3
parenta46f583437e9b66ebec6fa22e27567a71b17b497 (diff)
downloadiosdc-japan-2025-albatross-e3373eb48b8cd5eef61a59d8ff590db184612294.tar.gz
iosdc-japan-2025-albatross-e3373eb48b8cd5eef61a59d8ff590db184612294.tar.zst
iosdc-japan-2025-albatross-e3373eb48b8cd5eef61a59d8ff590db184612294.zip
remove racing pages
-rw-r--r--backend/main.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/backend/main.go b/backend/main.go
index 5661ed6..f0121ef 100644
--- a/backend/main.go
+++ b/backend/main.go
@@ -225,30 +225,6 @@ func main() {
serveWs(hub, w, r, team)
})
- server.HandleFunc("GET /race/{$}", func(w http.ResponseWriter, r *http.Request) {
- http.ServeFile(w, r, "./public/index.html")
- })
-
- server.HandleFunc("POST /race/{$}", func(w http.ResponseWriter, r *http.Request) {
- handleRacePost(w, r)
- })
-
- server.HandleFunc("GET /race/{gameId}/watch/{$}", func(w http.ResponseWriter, r *http.Request) {
- http.ServeFile(w, r, "./public/index.html")
- })
-
- server.HandleFunc("GET /sock/race/{gameId}/watch/{$}", func(w http.ResponseWriter, r *http.Request) {
- // TODO
- })
-
- server.HandleFunc("GET /race/{gameId}/{team}/{$}", func(w http.ResponseWriter, r *http.Request) {
- http.ServeFile(w, r, "./public/index.html")
- })
-
- server.HandleFunc("GET /sock/race/{gameId}/{team}/{$}", func(w http.ResponseWriter, r *http.Request) {
- // TODO
- })
-
defer func() {
for _, hub := range gameHubs {
hub.Close()