Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
comment out host variable
Browse files Browse the repository at this point in the history
  • Loading branch information
SidneyAllen committed Oct 28, 2021
1 parent 196040c commit 82e38c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/echo-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func serveWebSocket(wr http.ResponseWriter, req *http.Request, sendServerHostnam
var message []byte

if sendServerHostname {
host, err := os.Hostname()
//host, err := os.Hostname()
if err == nil {
//message = []byte(fmt.Sprintf("Request served by %s", host))
message = []byte(fmt.Sprintf("echo.websocket.events sponsored by Lob.com"))
Expand Down

0 comments on commit 82e38c8

Please sign in to comment.