Skip to content

Commit

Permalink
Correct nominatim URL format
Browse files Browse the repository at this point in the history
Remove trailing '/' from nominatim URL as this URL format is no longer supported:
 /search/?q=query URL format no longer supported (should be /search?q=query) #3134
osm-search/Nominatim#3134
  • Loading branch information
danielmwilson authored and kxtells committed Aug 25, 2023
1 parent df44449 commit e31c0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/osm.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class OpenStreet {
*/
constructor() {
this.settings = {
url: 'https://nominatim.openstreetmap.org/search/',
url: 'https://nominatim.openstreetmap.org/search',

params: {
q: '',
Expand Down

0 comments on commit e31c0f3

Please sign in to comment.