Skip to content

Commit ec431a4

Browse files
SNoiraudsam-m888
authored andcommitted
OSM forward all http resquest to https. (#212)
After asking the OSM support, I was told OSM forward all http request to https when we use .org url. So it should work in all cases. This has an energy cost, so it would be good for the planet to change http to https. Fixes #11057
1 parent bf2991c commit ec431a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DynamicWeb/templates/dwr_default/data/dwr_start.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ if (LOAD_GOOGLEMAP_SCRIPTS)
124124
if (!("LOAD_OSM_SCRIPTS" in window)) window.LOAD_OSM_SCRIPTS = false;
125125
if (LOAD_OSM_SCRIPTS)
126126
{
127-
LoadJsFile('http://openlayers.org/en/latest/build/ol.js');
128-
LoadCssFile('http://openlayers.org/en/latest/css/ol.css');
127+
LoadJsFile('https://openlayers.org/en/latest/build/ol.js');
128+
LoadCssFile('https://openlayers.org/en/latest/css/ol.css');
129129
}
130130

131131

0 commit comments

Comments
 (0)