forked from mirror/websocket
Typo fix
This commit is contained in:
parent
db7a2a1679
commit
b98fe92f10
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue