diff --git a/routes/client/routes.go b/routes/client/routes.go index 24d5398..4ddff2d 100644 --- a/routes/client/routes.go +++ b/routes/client/routes.go @@ -32,6 +32,9 @@ import ( func SetupRoutes() *http.ServeMux { handler := http.NewServeMux() handler.HandleFunc("GET /{$}", indexHandler.GET) + handler.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + w.WriteHeader(http.StatusNotFound) + }) authRoute := http.NewServeMux() handler.Handle("/auth/", http.StripPrefix("/auth", authRoute))