mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
Merge branch 'develop' of https://github.com/Pita/etherpad-lite into develop
This commit is contained in:
commit
e5ffe77af5
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ $(document).ready(function () {
|
|||
port = loc.port == "" ? (loc.protocol == "https:" ? 443 : 80) : loc.port,
|
||||
url = loc.protocol + "//" + loc.hostname + ":" + port + "/",
|
||||
pathComponents = location.pathname.split('/'),
|
||||
// Strip admin/plugins/
|
||||
baseURL = pathComponents.slice(0,pathComponents.length-3).join('/') + '/',
|
||||
// Strip admin/plugins
|
||||
baseURL = pathComponents.slice(0,pathComponents.length-2).join('/') + '/',
|
||||
resource = baseURL.substring(1) + "socket.io";
|
||||
|
||||
//connect
|
||||
|
|
Loading…
Reference in a new issue