From 32cdb31a46e813eeb34b7dbf6be2ed8a9155643e Mon Sep 17 00:00:00 2001 From: Rub21 Date: Thu, 31 Oct 2024 11:10:35 -0500 Subject: [PATCH] Update nominatim api endpoint --- js/nominatim.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {