Skip to content

Commit

Permalink
[docs] Small addition to the Express Readme Part (#2846)
Browse files Browse the repository at this point in the history
  • Loading branch information
H3rby7 authored and darrachequesne committed Feb 1, 2017
1 parent 3b92cc2 commit e1facd5
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 @@ -113,7 +113,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
function.
function. Also make sure to call `.listen` on the `server`, not the `app`.

```js
var app = require('express')();
Expand Down

0 comments on commit e1facd5

Please sign in to comment.