Revert "loleaflet: pass doc URI to WebSocket"
With this, no document loads.
This reverts commit 081ca0aa9f
.
This commit is contained in:
parent
aa806f0ec3
commit
ca4f44099f
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ L.Socket = L.Class.extend({
|
|||
initialize: function (map) {
|
||||
this._map = map;
|
||||
try {
|
||||
this.socket = new WebSocket(map.options.server + map.options.doc);
|
||||
this.socket = new WebSocket(map.options.server);
|
||||
} catch (e) {
|
||||
this.fire('error', {msg: _('Socket connection error'), cmd: 'socket', kind: 'failed', id: 3});
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue