Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change url protocol to https where appropriate #8

Merged
merged 1 commit into from
Aug 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/fetch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
cd public/data
mv all.json all.json-
wget http://www.berlin.de/lageso/gesundheit/gesundheitsschutz/badegewaesser/liste-der-badestellen/index.php/index/all.json?q= -O all.json
wget https://www.berlin.de/lageso/gesundheit/gesundheitsschutz/badegewaesser/liste-der-badestellen/index.php/index/all.json?q= -O all.json
2 changes: 1 addition & 1 deletion public/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2>Was ist hier dargestellt?</h2>
</p>

<p>
Die Karte wurde mit <a href="http://maperitive.net/" target="_blank">maperative</a>&nbsp; auf Basis von <a href="http://www.openstreetmap.org/" target="_blank">Open Street Map</a>-Daten und<a href="http://leafletjs.com/" target="_blank"> leaflet.js</a> erstellt. Den Datensatz zur Wasserqualität an Berliner Badestellen haben wir von <a href="https://daten.berlin.de/datensaetze/liste-der-badestellen" target="_blank">daten.berlin.de</a>&nbsp;und&nbsp;die Daten zu Schwimm- und Freibädern von den <a href="http://www.berlinerbaederbetriebe.de" target="_blank">Berliner Bäderbetrieben</a>.
Die Karte wurde mit <a href="http://maperitive.net/" target="_blank">maperative</a>&nbsp; auf Basis von <a href="https://www.openstreetmap.org/" target="_blank">Open Street Map</a>-Daten und<a href="https://leafletjs.com/" target="_blank"> leaflet.js</a> erstellt. Den Datensatz zur Wasserqualität an Berliner Badestellen haben wir von <a href="https://daten.berlin.de/datensaetze/liste-der-badestellen" target="_blank">daten.berlin.de</a>&nbsp;und&nbsp;die Daten zu Schwimm- und Freibädern von den <a href="https://www.berlinerbaeder.de" target="_blank">Berliner Bäderbetrieben</a>.
</p>

<p>
Expand Down
4 changes: 2 additions & 2 deletions public/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function initMap() {
var reuse = true;

//var baseUrl = 'http://mamanoke.de/tiles/badeseen/';
var baseUrl = 'http://tiles.codefor.de/static/badeseen/';
var baseUrl = 'https://tiles.codefor.de/static/badeseen/';
var errorTile = baseUrl + 'error.png';

var osmCopyright = "Map data &copy; 2012 OpenStreetMap contributors";
Expand Down Expand Up @@ -166,7 +166,7 @@ function initMap() {
url = unescape(_quality.index[i].badestellelink.replace("[","").replace("]",""));
url = url.split(":")[1];
url = url.substr(1, url.length);
url = 'http://www.berlin.de/' + url;
url = 'https://www.berlin.de/' + url;
}
}

Expand Down