Skip to content

Commit

Permalink
Fix Photon geocoder API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed Dec 21, 2022
1 parent 690b2ad commit dbdc762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/shared/javascripts/geocoder.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function OmekaGeocoder(geocoder) {
function photon(query) {
var url = 'https://photon.komoot.de/api/';
var url = 'https://photon.komoot.io/api/';
return jQuery.getJSON(url, {q: query, limit: 1})
.then(function (data) {
if (!data.features.length) {
Expand Down

0 comments on commit dbdc762

Please sign in to comment.