Closed RockYou-cmd closed 9 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
socket-io-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 26, 2023 2:34pm |
Hi! The options
argument is optional:
new Server(httpServer)
new Server(httpServer, options)
.We use the same syntax as the Node.js documentation (here for example).
What do you think?
Yes, I just knew it, My bad.
Moved the comma before the “options” argument in the server class constructor.