diff --git a/minecraft-site.go b/minecraft-site.go index a653bee..b422606 100644 --- a/minecraft-site.go +++ b/minecraft-site.go @@ -73,6 +73,9 @@ func main() { } http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + if r.URL.Path != "/" { + http.NotFound(w, r) + } // Update servers with current data for i, s := range config.Servers {