docs: minor style fix (#4619)

This commit is contained in:
Nabaraj Subedi
2023-02-16 14:10:43 +05:45
committed by GitHub
parent a2e5d1f77f
commit e71f3d7dbe

View File

@@ -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