diff options
| author | Julian Hurst <ark@mansus.space> | 2023-08-10 15:33:01 +0200 |
|---|---|---|
| committer | Julian Hurst <ark@mansus.space> | 2023-08-10 15:33:01 +0200 |
| commit | 96a7413ca1b50bdc83096c9d72bbbf98099cc45b (patch) | |
| tree | aef3868fc06fbb9b37dfc27b6b2dfb33f0e96788 /main.go | |
| parent | 3e716d912c9af1ddb2d3fb11c1e3caea57d1f0ce (diff) | |
| download | docspace-96a7413ca1b50bdc83096c9d72bbbf98099cc45b.tar.gz | |
Disable /createuser
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
