Use https for loading map tiles, see #3
This commit is contained in:
parent
21feb49c3c
commit
07c5c6a580
2 changed files with 5 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -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:
|
||||
|
|
|
@ -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: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
|
||||
marker: L.latLng(47.413220, -1.219482),
|
||||
marker: L.latLng(52.5259279,13.414496),
|
||||
}
|
||||
},
|
||||
methods: {},
|
||||
|
|
Loading…
Reference in a new issue