You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/API.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ Exposed by `require('socket.io')`.
78
78
-`path`_(String)_: name of the path to capture (`/socket.io`)
79
79
-`serveClient`_(Boolean)_: whether to serve the client files (`true`)
80
80
-`adapter`_(Adapter)_: the adapter to use. Defaults to an instance of the `Adapter` that ships with socket.io which is memory based. See [socket.io-adapter](https://github.com/socketio/socket.io-adapter)
81
-
-`origins`_(String)_: the allowed origins (`*`)
81
+
-`origins`_(String)_: the allowed origins (`*:*`)
82
82
-`parser`_(Parser)_: the parser to use. Defaults to an instance of the `Parser` that ships with socket.io. See [socket.io-parser](https://github.com/socketio/socket.io-parser).
0 commit comments