We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db7aad2 commit 82e8a52Copy full SHA for 82e8a52
1 file changed
lib/initialize.js
@@ -134,7 +134,7 @@ module.exports = function ToInitialize(app) {
134
if (app.config.sockets.allowUpgrades) {
135
opts.allowUpgrades = app.config.sockets.allowUpgrades;
136
}
137
- if (app.config.sockets.cookie) {
+ if (typeof app.config.sockets.cookie !== 'undefined') {
138
opts.cookie = app.config.sockets.cookie;
139
140
if (app.config.sockets.onlyAllowOrigins) {
0 commit comments