Use https for loading map tiles, see #3

This commit is contained in:
Michael Mayer 2019-05-07 17:02:15 +02:00
parent 21feb49c3c
commit 07c5c6a580
2 changed files with 5 additions and 3 deletions

View file

@ -24,6 +24,8 @@ build:
js:
(cd frontend && npm install --production)
(cd frontend && env NODE_ENV=production npm run build)
build-js:
(cd frontend && env NODE_ENV=production npm run build)
test-js:
(cd frontend && env NODE_ENV=development npm run test)
start:

View file

@ -13,10 +13,10 @@
data() {
return {
zoom: 13,
center: L.latLng(47.413220, -1.219482),
url: 'http://{s}.tile.osm.org/{z}/{x}/{y}.png',
center: L.latLng(52.5259279,13.414496),
url: 'https://{s}.tile.osm.org/{z}/{x}/{y}.png',
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
marker: L.latLng(47.413220, -1.219482),
marker: L.latLng(52.5259279,13.414496),
}
},
methods: {},