loleaflet/src/core/Socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6cd5d869ef76bf6baa60c9f22954fac6026748f4 Author: Jan Holesovsky <ke...@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 diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js index 3ca32cc0..bf45d685 100644 --- a/loleaflet/src/core/Socket.js +++ b/loleaflet/src/core/Socket.js @@ -29,7 +29,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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits