This commit is contained in:
Lorin Werthen 2021-01-12 00:30:04 +01:00
parent 169fb28e28
commit 667cb87f36
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

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;