diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-12-07 23:16:09 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-12-07 23:16:09 +0100 |
| commit | 2d0506f04402d0d18502e8c35f8514881428d7d6 (patch) | |
| tree | da74874cd5562fba7f7ba80602d0c8db938f56d3 | |
| parent | 1b0836da7305ac26b38ed941a957f4310ec96965 (diff) | |
| download | cacharle.xyz-2d0506f04402d0d18502e8c35f8514881428d7d6.tar.gz cacharle.xyz-2d0506f04402d0d18502e8c35f8514881428d7d6.tar.bz2 cacharle.xyz-2d0506f04402d0d18502e8c35f8514881428d7d6.zip | |
Fixed downloading map tiles with https instead of http (no green lock otherwise)
| -rw-r--r-- | walks/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/walks/script.js b/walks/script.js index 2df91b0..80282db 100644 --- a/walks/script.js +++ b/walks/script.js @@ -14,7 +14,7 @@ fetch(link.href) const map = L.map(anchor).setView([0, 0], 13) L.tileLayer( - 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', + 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: 'Map data © <a href="http://www.osm.org">OpenStreetMap</a>', // maxZoom: 18, |
