removed some old debug messages

This commit is contained in:
Peter 'Pita' Martischka 2011-07-13 15:33:20 +02:00
parent 51c4aff54b
commit ebe08d6780
1 changed files with 0 additions and 2 deletions

View File

@ -74,9 +74,7 @@ function handshake()
//create the url
var url = loc.protocol + "//" + loc.hostname + ":" + port + "/";
//find out in which subfolder we are
console.log(loc.pathname);
var resource = loc.pathname.substr(1, loc.pathname.indexOf("/p/")) + "socket.io";
console.log(resource);
//connect
socket = io.connect(url, {
resource: resource