diff options
| -rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18,6 +18,11 @@ var open atomic.Uint64 var done atomic.Uint64 func pageHandler(w http.ResponseWriter, r *http.Request) { + if r.URL.Path != "/" { + w.WriteHeader(http.StatusNotFound) + return + } + tempData := struct { Open uint64 Done uint64 |
