mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
make more cdn's and API urls/settings configurable
* CDNs for OCI, NSI, etc. * OSM API (URL and oauth API settings) * taginfo API * nominatim API
This commit is contained in:
-11
@@ -43,17 +43,6 @@
|
||||
} else {
|
||||
var context = iD.coreContext()
|
||||
.assetPath('dist/')
|
||||
.apiConnections([
|
||||
{
|
||||
url: 'https://www.openstreetmap.org',
|
||||
client_id: '0tmNTmd0Jo1dQp4AUmMBLtGiD9YpMuXzHefitcuVStc',
|
||||
client_secret: 'BTlNrNxIPitHdL4sP2clHw5KLoee9aKkA7dQbc0Bj7Q'
|
||||
}, {
|
||||
url: 'https://api06.dev.openstreetmap.org',
|
||||
client_id: 'Ee1wWJ6UlpERbF6BfTNOpwn0R8k_06mvMXdDUkeHMgw',
|
||||
client_secret: 'OnfWFC-JkZNHyYdr_viNn_h_RTZXRslKcUxllOXqf5g'
|
||||
}
|
||||
])
|
||||
.containerNode(container);
|
||||
window.context = window.id = context; // for debugging
|
||||
context.init();
|
||||
|
||||
Reference in New Issue
Block a user