From 96a7413ca1b50bdc83096c9d72bbbf98099cc45b Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Thu, 10 Aug 2023 15:33:01 +0200 Subject: Disable /createuser --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 8237f90..15e7281 100644 --- a/main.go +++ b/main.go @@ -641,7 +641,7 @@ func main() { //http.Handle("/docs/", http.StripPrefix("/docs/", http.FileServer(http.Dir("docs")))) http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static")))) http.HandleFunc("/", index) - http.HandleFunc("/createuser", createuser) + //http.HandleFunc("/createuser", createuser) http.HandleFunc("/login", login) http.HandleFunc("/logout", logout) http.HandleFunc("/upload", upload) -- cgit v1.2.3