mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-30 00:40:25 +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:
@@ -103,14 +103,6 @@ export function coreContext() {
|
||||
return context;
|
||||
};
|
||||
|
||||
/* connection options for source switcher (optional) */
|
||||
let _apiConnections;
|
||||
context.apiConnections = function(val) {
|
||||
if (!arguments.length) return _apiConnections;
|
||||
_apiConnections = val;
|
||||
return context;
|
||||
};
|
||||
|
||||
|
||||
// A string or array or locale codes to prefer over the browser's settings
|
||||
context.locale = function(locale) {
|
||||
|
||||
Reference in New Issue
Block a user