Merge pull request #427 from ZeusWPI/update-photon-link

update photon link to https://photon.komoot.io
This commit is contained in:
redfast00 2021-01-12 14:24:07 +01:00 committed by GitHub
commit bad5124e76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ function performRequest(url, success_callback) {
request.send();
}
performRequest("https://photon.komoot.de/api/?limit=1&q=<%= URI::encode_www_form_component(@location) %>", function(data) {
performRequest("https://photon.komoot.io/api/?limit=1&q=<%= URI::encode_www_form_component(@location) %>", function(data) {
var lat, lon;
if(data.features.length < 1) {
lat = 51.0538286;