index: fix client url

This commit is contained in:
Guillermo Rauch
2012-12-17 08:29:25 -03:00
parent 31adf5e45e
commit 4f0fce34f5

View File

@@ -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) {