mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-12-22 01:31:00 +01:00
removed some old debug messages
This commit is contained in:
parent
51c4aff54b
commit
ebe08d6780
@ -74,9 +74,7 @@ function handshake()
|
|||||||
//create the url
|
//create the url
|
||||||
var url = loc.protocol + "//" + loc.hostname + ":" + port + "/";
|
var url = loc.protocol + "//" + loc.hostname + ":" + port + "/";
|
||||||
//find out in which subfolder we are
|
//find out in which subfolder we are
|
||||||
console.log(loc.pathname);
|
|
||||||
var resource = loc.pathname.substr(1, loc.pathname.indexOf("/p/")) + "socket.io";
|
var resource = loc.pathname.substr(1, loc.pathname.indexOf("/p/")) + "socket.io";
|
||||||
console.log(resource);
|
|
||||||
//connect
|
//connect
|
||||||
socket = io.connect(url, {
|
socket = io.connect(url, {
|
||||||
resource: resource
|
resource: resource
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user