stupidly output the socket.io resource path to console

This commit is contained in:
luto 2014-11-21 01:27:58 +01:00
parent 488d6890f9
commit fce46448f0

View file

@ -169,6 +169,7 @@ function handshake()
var url = loc.protocol + "//" + loc.hostname + ":" + port + "/";
//find out in which subfolder we are
var resource = exports.baseURL.substring(1) + "socket.io";
console.log("!!!!!!!!!!!!!!!!!!!! Resource: " + resource);
//connect
socket = pad.socket = io.connect(url, {
resource: resource,