From 064fe5c0b48d449fc0867eae545e7f0e603e6a21 Mon Sep 17 00:00:00 2001
From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com>
Date: Thu, 2 Nov 2023 22:38:57 +0100
Subject: [PATCH 1/2] Switch to api.openstreetmap.org API host
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 24e9cb9..de2b713 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Pull requests are welcome. You will need VisualStudio, VS Code or Rider to modif
// Create a client factory (pointing at the dev server)
var clientFactory = new ClientsFactory(null, new HttpClient(),
"https://master.apis.dev.openstreetmap.org/api/");
-// After testing, use "https://www.openstreetmap.org/api/" for production
+// After testing, use "https://api.openstreetmap.org/api/" for production
```
### Get a Node
@@ -100,4 +100,4 @@ See the [functional tests](https://github.com/blackboxlogic/OsmApiClient/tree/ma
- :new_moon: ReOpen a note
## Contribute
-Issues and pull requests are welcome.
\ No newline at end of file
+Issues and pull requests are welcome.
From 56efb8b15dfed489087514da23dda034e3837506 Mon Sep 17 00:00:00 2001
From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com>
Date: Thu, 2 Nov 2023 22:39:51 +0100
Subject: [PATCH 2/2] Switch to api.openstreetmap.org API host
---
OsmSharp.IO.API/ClientsFactory.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/OsmSharp.IO.API/ClientsFactory.cs b/OsmSharp.IO.API/ClientsFactory.cs
index 4f36d12..0bf3fb0 100644
--- a/OsmSharp.IO.API/ClientsFactory.cs
+++ b/OsmSharp.IO.API/ClientsFactory.cs
@@ -12,7 +12,7 @@ public class ClientsFactory : IClientsFactory
///
/// The URL of the production instance of OSM's API. Use with care.
///
- public const string PRODUCTION_URL = @"https://www.openstreetmap.org/api/";
+ public const string PRODUCTION_URL = @"https://api.openstreetmap.org/api/";
///
/// The URL of the development instance of OSM's API. The correct place to do testing.