diff --git a/cmd/testapi/main.go b/cmd/testapi/main.go index 9e34183..804fa87 100644 --- a/cmd/testapi/main.go +++ b/cmd/testapi/main.go @@ -146,7 +146,9 @@ func (s *S) Session(ctx context.Context) Session { func (s *S) serveWS(w http.ResponseWriter, r *http.Request) error { ctx := r.Context() - c, err := websocket.Accept(w, r, nil) + c, err := websocket.Accept(w, r, &websocket.AcceptOptions{ + InsecureSkipVerify: true, + }) if err != nil { return err }