Skip to content

Commit

Permalink
Merge pull request #227 from jkwening/225-secure-URL-OSM-tile
Browse files Browse the repository at this point in the history
refactor: Use secure URL for OSM tile requests
  • Loading branch information
jkwening authored Mar 12, 2018
2 parents aa20293 + 5b76d1c commit ea28d7d
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 ea28d7d

Please sign in to comment.