goimports fixed this
This commit is contained in:
parent
990060fb31
commit
f456da937b
|
@ -96,7 +96,7 @@ func wsHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
chatConn := &chatConnection{
|
chatConn := &chatConnection{
|
||||||
Conn: conn,
|
Conn: conn,
|
||||||
// If the server is behind a reverse proxy (eg, Nginx), look
|
// If the server is behind a reverse proxy (eg, Nginx), look
|
||||||
// for this header to get the real IP address of the client.
|
// for this header to get the real IP address of the client.
|
||||||
forwardedFor: r.Header.Get("X-Forwarded-For"),
|
forwardedFor: r.Header.Get("X-Forwarded-For"),
|
||||||
|
|
Loading…
Reference in New Issue