loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f73c0980e29df3606038236e4525c3f9c2993a04
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Thu Feb 11 20:25:04 2016 +0100

    loleaflet: Allow wss: protocol as a base for the image upload URL too.

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index d048556..acc979f 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -50,7 +50,7 @@ L.Map = L.Evented.extend({
 
                if (options.webserver === undefined) {
                        var protocol = window.location.protocol === 'file:' ? 
'http:' : window.location.protocol;
-                       options.webserver = options.server.replace(/^ws:/i, 
protocol);
+                       options.webserver = 
options.server.replace(/^(ws|wss):/i, protocol);
                }
 
                // we are adding components like '/insertfile' at the end which 
would
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to