roster-server 1.8.4 → 1.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -32,7 +32,9 @@ Your project should look something like this:
32
32
  ├── example.com/
33
33
  │ └── index.js
34
34
  └── subdomain.example.com/
35
- └── index.js
35
+ └── index.js
36
+ └── other-domain.com/
37
+ └── index.js
36
38
  ```
37
39
 
38
40
  ### Setting Up Your Server
@@ -105,6 +107,7 @@ module.exports = (httpsServer) => {
105
107
  });
106
108
 
107
109
  return (req, res) => {
110
+ if (req.url && req.url.startsWith(io.opts.path)) return;
108
111
  res.writeHead(200);
109
112
  res.end('Socket.IO server running');
110
113
  };