[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/src
Jan Holesovsky
kendy at collabora.com
Fri Sep 15 13:35:54 UTC 2017
loleaflet/src/core/Socket.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d54c7a35470d3b510877c6352ba9ac368dceed22
Author: Jan Holesovsky <kendy at collabora.com>
Date: Fri Sep 15 15:29:17 2017 +0200
Temporary hack to pass through the reverse proxy a nocanon way.
Change-Id: Iefc8704d4b08bab6a0afabcbc9aec5ef11d2be26
Reviewed-on: https://gerrit.libreoffice.org/42327
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index bd2cdd58..c67d5311 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -24,7 +24,7 @@ L.Socket = L.Class.extend({
}
var wopiSrc = '';
if (map.options.wopiSrc != '') {
- wopiSrc = '?WOPISrc=' + map.options.wopiSrc;
+ wopiSrc = '?WOPISrc=' + map.options.wopiSrc + '&compat=/ws';
}
this.socket = new WebSocket(map.options.server + '/lool/' + encodeURIComponent(map.options.doc + '?' + $.param(map.options.docParams)) + '/ws' + wopiSrc);
this.socket.onerror = L.bind(this._onSocketError, this);
More information about the Libreoffice-commits
mailing list