diff --git a/accept.go b/accept.go index e4109c574dac7f7d8a74b34008077a6d757088ee..8979614bcfe9b7823132c8c5fcd4f6442ac4d4da 100644 --- a/accept.go +++ b/accept.go @@ -67,7 +67,7 @@ type AcceptOptions struct { // the connection to a WebSocket. // // Accept will not allow cross origin requests by default. -// See the InsecureSkipVerify option to allow cross origin requests. +// See the InsecureSkipVerify and OriginPatterns options to allow cross origin requests. // // Accept will write a response to w on all errors. func Accept(w http.ResponseWriter, r *http.Request, opts *AcceptOptions) (*Conn, error) {