aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2023-08-10 15:33:01 +0200
committerJulian Hurst <ark@mansus.space>2023-08-10 15:33:01 +0200
commit96a7413ca1b50bdc83096c9d72bbbf98099cc45b (patch)
treeaef3868fc06fbb9b37dfc27b6b2dfb33f0e96788 /main.go
parent3e716d912c9af1ddb2d3fb11c1e3caea57d1f0ce (diff)
downloaddocspace-96a7413ca1b50bdc83096c9d72bbbf98099cc45b.tar.gz
Disable /createuser
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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)