From 9dbe945a07655e5c7558167c5368310fbf8c8359 Mon Sep 17 00:00:00 2001 From: Nabaraj Subedi <79269587+subedinab@users.noreply.github.com> Date: Thu, 16 Feb 2023 14:10:43 +0545 Subject: [PATCH] docs: minor style fix (#4619) --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 5973546f3c..f7e38e15b0 100644 --- a/Readme.md +++ b/Readme.md @@ -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