We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9c9b3d commit 1929b78Copy full SHA for 1929b78
lib/index.js
@@ -95,8 +95,8 @@ Server.prototype.serveClient = function(v){
95
if (!arguments.length) return this._serveClient;
96
this._serveClient = v;
97
98
- if(v && !clientSource) {
99
- clientSource = read(require.resolve('socket.io-client/socket.io.js'), 'utf-8');
+ if (v && !clientSource) {
+ clientSource = read(require.resolve('socket.io-client/socket.io.js'), 'utf-8');
100
}
101
102
return this;
0 commit comments