Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
Switch to Stamen's secure CDN (#79)
Browse files Browse the repository at this point in the history
Use HTTPS instead of HTTP
  • Loading branch information
JCBird1012 authored and kochman committed Oct 15, 2017
1 parent c13ec37 commit 7bb75f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/js/admin.js
Expand Up @@ -303,7 +303,7 @@ var Admin = {
prefix: ''
}));

L.tileLayer('http://tile.stamen.com/toner-lite/{z}/{x}/{y}{r}.png', {
L.tileLayer('https://stamen-tiles.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}{r}.png', {
attribution: 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.',
minZoom: 13
}).addTo(Admin.StopsMap);
Expand Down
2 changes: 1 addition & 1 deletion static/js/app.js
Expand Up @@ -20,7 +20,7 @@ var App ={
position: 'bottomright',
prefix: ''
}));
L.tileLayer('http://tile.stamen.com/toner-lite/{z}/{x}/{y}{r}.png', {
L.tileLayer('https://stamen-tiles.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}{r}.png', {
attribution: 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.',
maxZoom: 17,
minZoom: 14
Expand Down

0 comments on commit 7bb75f1

Please sign in to comment.