about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http.go2
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)