Skip to content

Commit

Permalink
refactor: Use secure URL for OSM tile requests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwening committed Mar 12, 2018
1 parent aa20293 commit 5b76d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/LeafletOsmMap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Routing from '../../../node_modules/leaflet-routing-machine/src/index.js'
/**
* TIle layer configuration and attribution constants
*/
const OSM_URL = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
const OSM_URL = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
const OSM_ATTRIB =
'&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors';
const OSM_TILE_LAYER = new L.TileLayer(OSM_URL, {
Expand Down

0 comments on commit 5b76d1c

Please sign in to comment.