diff options
author | Emile <git@emile.space> | 2024-11-06 19:24:02 +0100 |
---|---|---|
committer | Emile <git@emile.space> | 2024-11-06 19:24:02 +0100 |
commit | 8ffae39cd303d487cf20177fab2f7b9aa29f1d77 (patch) | |
tree | 3b7f4da94e801ee23149d60e0337e08a3e478336 /src/main.go | |
parent | 566f2e1af45c5a9809dc947f858cdd4d49c48e11 (diff) |
commented out the delete battle stuff, as I want to test build
Diffstat (limited to 'src/main.go')
-rw-r--r-- | src/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go index 907ec7e..20c245a 100644 --- a/src/main.go +++ b/src/main.go @@ -92,7 +92,7 @@ func main() { auth_needed.HandleFunc("/battle/quick", battleQuickHandler) auth_needed.HandleFunc("/battle/{id}/submit", battleSubmitHandler) auth_needed.HandleFunc("/battle/{id}/run", battleRunHandler) - auth_needed.HandleFunc("/battle/{id}/delete", battleDeleteHandler) + // auth_needed.HandleFunc("/battle/{id}/delete", battleDeleteHandler) log.Printf("[i] HTTP Server running on %s:%d\n", host, port) log.Fatal(http.ListenAndServe(fmt.Sprintf("%s:%d", host, port), r)) |