mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
fix #677
This commit is contained in:
parent
83648481c3
commit
0e941b498e
4 changed files with 24 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue