[client/map] Bugfix: Request OpenStreet maps over HTTPS by default

pull/26/head
Starbeamrainbowlabs 4 years ago
parent b9cbea5c96
commit 218e498c4a
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 2
      client_src/js/MapManager.mjs

@ -24,7 +24,7 @@ class MapManager {
this.map.setView(Config.default_location, Config.default_zoom);
// Add the OpenStreetMap tile layer
this.layer_openstreet = L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
this.layer_openstreet = L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
id: "openstreetmap",
maxZoom: 19,
attribution: "&copy; <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>"

Loading…
Cancel
Save