mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
removed some old debug messages
This commit is contained in:
parent
51c4aff54b
commit
ebe08d6780
1 changed files with 0 additions and 2 deletions
|
@ -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…
Reference in a new issue