From a73a751339a3e2093e916f96238d22c1f9976d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=AB=E4=B9=90=E7=9A=84=E8=80=81=E9=BC=A0=E5=AE=9D?= =?UTF-8?q?=E5=AE=9D?= Date: Sat, 28 Oct 2023 22:50:49 +0800 Subject: [PATCH] Switch to api.openstreetmap.org API host https://github.com/openstreetmap/operations/issues/951 --- src/keqing/method/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keqing/method/network.py b/src/keqing/method/network.py index 4635598..a6144d5 100644 --- a/src/keqing/method/network.py +++ b/src/keqing/method/network.py @@ -8,7 +8,7 @@ def get_server(server_name: str) -> Optional[str]: server_list = { - "OSM": {"url": "https://www.openstreetmap.org/api/0.6/"}, + "OSM": {"url": "https://api.openstreetmap.org/api/0.6/"}, "OGF": {"url": "https://opengeofiction.net/api/0.6/"}, "OHM": {"url": "https://www.openhistoricalmap.org/api/0.6"}, }