diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.go b/src/http.go index 1ddebe5..2f25a38 100644 --- a/src/http.go +++ b/src/http.go @@ -26,7 +26,7 @@ func runHTTPServer() (error) { r.HandleFunc("/files/{file}", fileHandler) r.HandleFunc("/login", loginGetHandler).Methods("GET") r.HandleFunc("/login", loginPostHandler).Methods("POST") - r.HandleFunc("/logout", logoutHandler).Methods("GET") + r.HandleFunc("/logout", logoutHandler).Methods("POST") r.HandleFunc("/api/getChallenges", getChallengesHandler).Methods("GET") address := fmt.Sprintf(":%d", *port) |