mirror of https://github.com/gorilla/websocket.git
Fixed broken HTML for autobahn test server.
This commit is contained in:
parent
9007e29a7c
commit
9dc53c0673
|
@ -147,7 +147,7 @@ func serveHome(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
||||||
io.WriteString(w, "<html><body>Echo Server</body></html")
|
io.WriteString(w, "<html><body>Echo Server</body></html>")
|
||||||
}
|
}
|
||||||
|
|
||||||
var addr = flag.String("addr", ":9000", "http service address")
|
var addr = flag.String("addr", ":9000", "http service address")
|
||||||
|
|
Loading…
Reference in New Issue