From ac77de0ffe84952bfbefa37583664312cb5eac1e Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Wed, 1 Nov 2023 09:56:40 +0100 Subject: [PATCH] Switch to api.openstreetmap.org API host --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index a0fe776..c65fc3c 100644 --- a/config.py +++ b/config.py @@ -43,7 +43,7 @@ REPLICATION_SLEEP = timedelta(seconds=30) OSM_PLANET_URL = 'https://planet.openstreetmap.org/' -OSM_API_URL = 'https://www.openstreetmap.org/api/0.6/' +OSM_API_URL = 'https://api.openstreetmap.org/api/0.6/' CHANGESET_CONCURRENCY = int(os.getenv('CHANGESET_CONCURRENCY', '5')) CHANGESET_MAX_AGE = timedelta(days=180) # 6 months