Skip to content

Commit

Permalink
Merge pull request #3 from danieldegroot2/api-url
Browse files Browse the repository at this point in the history
Switch to api.openstreetmap.org API host
  • Loading branch information
praszuk authored Feb 19, 2024
2 parents bbae5df + 613a7ab commit b66e148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osmcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class OsmCache:
}
}
"""
OSM_API_URL = 'https://www.openstreetmap.org/api/0.6'
OSM_API_URL = 'https://api.openstreetmap.org/api/0.6'
OSM_USER_AGENT = 'aed_backup/1.0 (github.com/openstreetmap-polska)'
CACHE_TIMEOUT = 3
CACHE_RETRIES = 3
Expand Down

0 comments on commit b66e148

Please sign in to comment.