This commit is contained in:
Aaron France 2014-05-10 14:30:27 +02:00
parent db7a2a1679
commit b98fe92f10
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func serveHome(w http.ResponseWriter, r *http.Request) {
return
}
if r.Method != "GET" {
http.Error(w, "Method nod allowed", 405)
http.Error(w, "Method not allowed", 405)
return
}
w.Header().Set("Content-Type", "text/html; charset=utf-8")