Skip to content

Commit

Permalink
use api.osm.org also for map calls, release as v2.27.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Nov 8, 2023
1 parent b95fb78 commit accbdf3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ _Breaking developer changes, which may affect downstream projects or sites that
[@xxxx]: https://github.com/xxxx
-->

# 2.27.3
##### 2023-Nov-08

* Use `api.openstreetmap.org` domain also for _map_ API calls


# 2.27.2
##### 2023-Nov-08

Expand Down
4 changes: 2 additions & 2 deletions modules/services/osm.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,10 +673,10 @@ export default {
return oauth.xhr({
method: 'GET',
prefix: false,
path: urlroot + path
path: apiUrlroot + path
}, done);
} else {
var url = urlroot + path;
var url = apiUrlroot + path;
var controller = new AbortController();
var fn;
if (path.indexOf('.json') !== -1) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iD",
"version": "2.27.2",
"version": "2.27.3",
"description": "A friendly editor for OpenStreetMap",
"main": "dist/iD.min.js",
"repository": "github:openstreetmap/iD",
Expand Down

0 comments on commit accbdf3

Please sign in to comment.