You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using ws with node.js for a long time. I have noticed the later versions of ws are missing one of the import properties: upgradeReq, causing apps using it to fail.
Adding one line code at line 288 of websocket-server.js would fix it:
ws.upgradeReq = req;
Thanks
Dashan Chang
The text was updated successfully, but these errors were encountered:
Hi ws team,
I've been using ws with node.js for a long time. I have noticed the later versions of ws are missing one of the import properties: upgradeReq, causing apps using it to fail.
Adding one line code at line 288 of websocket-server.js would fix it:
ws.upgradeReq = req;
Thanks
Dashan Chang
The text was updated successfully, but these errors were encountered: