Skip to content

Commit 2a1e717

Browse files
committed
Mention OriginPatterns in Accept docs
Closes #235
1 parent 6d4464c commit 2a1e717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accept.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type AcceptOptions struct {
6767
// the connection to a WebSocket.
6868
//
6969
// Accept will not allow cross origin requests by default.
70-
// See the InsecureSkipVerify option to allow cross origin requests.
70+
// See the InsecureSkipVerify and OriginPatterns options to allow cross origin requests.
7171
//
7272
// Accept will write a response to w on all errors.
7373
func Accept(w http.ResponseWriter, r *http.Request, opts *AcceptOptions) (*Conn, error) {

0 commit comments

Comments
 (0)