Release v0.15.11 (#1830)

This commit is contained in:
Daniel Valdivia
2022-04-11 20:32:10 -07:00
committed by GitHub
parent 6e6aab580c
commit fc490a1ca8
20 changed files with 30 additions and 33 deletions

View File

@@ -128,9 +128,6 @@ func serveWS(w http.ResponseWriter, req *http.Request) {
errors.ServeError(w, req, errors.New(http.StatusUnauthorized, err.Error()))
return
}
upgrader.CheckOrigin = func(r *http.Request) bool {
return true
}
// upgrades the HTTP server connection to the WebSocket protocol.
conn, err := upgrader.Upgrade(w, req, nil)