loleaflet/src/core/Socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d54c7a35470d3b510877c6352ba9ac368dceed22 Author: Jan Holesovsky <[email protected]> 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 <[email protected]> Tested-by: Andras Timar <[email protected]> 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); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
