diff --git a/websockets.go b/websockets.go index 7828842..46692f8 100644 --- a/websockets.go +++ b/websockets.go @@ -18,7 +18,6 @@ var wsupgrader = websocket.Upgrader{ } func wshandler(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Access-Control-Allow-Origin", "*") conn, err := wsupgrader.Upgrade(w, r, nil) if err != nil { fmt.Println("Failed to set websocket upgrade: %+v", err)