Skip to content

Commit 0a2e7a0

Browse files
committed
Use HTTPS for mapbox tiles
1 parent 287db7f commit 0a2e7a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/common/services/maps.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function (
3131
baselayers : {
3232
satellite: {
3333
name: 'Satellite',
34-
url: 'http://api.tiles.mapbox.com/v4/{mapid}/{z}/{x}/{y}.png?access_token={apikey}',
34+
url: 'https://api.tiles.mapbox.com/v4/{mapid}/{z}/{x}/{y}.png?access_token={apikey}',
3535
type: 'xyz',
3636
layerOptions: {
3737
apikey: CONST.MAPBOX_API_KEY,
@@ -41,7 +41,7 @@ function (
4141
},
4242
streets: {
4343
name: 'Streets',
44-
url: 'http://api.tiles.mapbox.com/v4/{mapid}/{z}/{x}/{y}.png?access_token={apikey}',
44+
url: 'https://api.tiles.mapbox.com/v4/{mapid}/{z}/{x}/{y}.png?access_token={apikey}',
4545
type: 'xyz',
4646
layerOptions: {
4747
apikey: CONST.MAPBOX_API_KEY,

0 commit comments

Comments
 (0)