Skip to content

Commit 2411220

Browse files
mfilottojuristr
authored andcommitted
fix(olHelpers.js): use HTTPS Esri URL (#387)
This addresses issue #386. It is a one-character change, changing the protocol from http to https.
1 parent 33008fe commit 2411220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/olHelpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
390390
return;
391391
}
392392

393-
var _urlBase = 'http://services.arcgisonline.com/ArcGIS/rest/services/';
393+
var _urlBase = 'https://services.arcgisonline.com/ArcGIS/rest/services/';
394394
var _url = _urlBase + source.layer + '/MapServer/tile/{z}/{y}/{x}';
395395

396396
oSource = new ol.source.XYZ({

0 commit comments

Comments
 (0)