Skip to content

Commit

Permalink
docs: minor style fix (socketio#4619)
Browse files Browse the repository at this point in the history
  • Loading branch information
subedinab authored Feb 16, 2023
1 parent 8275dbf commit 9dbe945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ io.listen(3000);

Starting with **3.0**, express applications have become request handler
functions that you pass to `http` or `http` `Server` instances. You need
to pass the `Server` to `socket.io`, and not the express application
to pass the `Server` to `socket.io`, not the express application
function. Also make sure to call `.listen` on the `server`, not the `app`.

```js
Expand Down

0 comments on commit 9dbe945

Please sign in to comment.