This commit is contained in:
Matthias Bartelmeß 2012-04-29 19:54:38 +02:00
parent 83648481c3
commit 0e941b498e
4 changed files with 24 additions and 5 deletions

View file

@ -203,8 +203,7 @@ function handshake()
//create the url
var url = loc.protocol + "//" + loc.hostname + ":" + port + "/";
//find out in which subfolder we are
var resource = exports.baseURL + "socket.io";
var resource = exports.baseURL.substring(1) + "socket.io";
//connect
socket = pad.socket = io.connect(url, {
resource: resource,