mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
index: fix client url
This commit is contained in:
@@ -126,7 +126,7 @@ Server.prototype.attach = function(srv, opts){
|
||||
|
||||
Server.prototype.serve = function(srv){
|
||||
debug('attaching client serving req handler');
|
||||
var url = this._path + '/';
|
||||
var url = this._path + '/socket.io.js';
|
||||
var evs = srv.listeners('request').slice(0);
|
||||
srv.removeAllListeners('request');
|
||||
srv.on('request', function(req, res) {
|
||||
|
||||
Reference in New Issue
Block a user