Skip to content

Commit

Permalink
Switch to api.openstreetmap.org API host
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldegroot2 authored Nov 1, 2023
1 parent af41977 commit 1155902
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ object FindDeletedNodesHistoryTool {

private def history(nodeId: Long): Unit = {
val restTemplate = new RestTemplate
val url = s"https://www.openstreetmap.org/api/0.6/node/$nodeId/history"
val url = s"https://api.openstreetmap.org/api/0.6/node/$nodeId/history"
val headers = new HttpHeaders()
headers.setAccept(java.util.Arrays.asList(MediaType.TEXT_XML))
headers.setAcceptCharset(java.util.Arrays.asList(Charset.forName("UTF-8")))
Expand Down

0 comments on commit 1155902

Please sign in to comment.