diff --git a/js/nominatim.ts b/js/nominatim.ts index ed42de99..07f47bcd 100644 --- a/js/nominatim.ts +++ b/js/nominatim.ts @@ -9,7 +9,7 @@ export default class nominatim { static request(search, callback) { // ajax (GET) request to nominatim $.ajax( - `https://nominatim.openhistoricalmap.org/search.html` + + `https://nominatim-api.openhistoricalmap.org/search` + `?X-Requested-With=${configs.appname}`, { data: {