forked from MapComplete/MapComplete
Override keys
This commit is contained in:
parent
5ea08040d7
commit
83d936d98c
1 changed files with 2 additions and 5 deletions
|
@ -72,11 +72,8 @@ export class OsmConnection {
|
||||||
import.meta.env.VITE_OSM_OAUTH_SECRET !== undefined
|
import.meta.env.VITE_OSM_OAUTH_SECRET !== undefined
|
||||||
) {
|
) {
|
||||||
console.debug("Using environment variables for oauth config")
|
console.debug("Using environment variables for oauth config")
|
||||||
this._oauth_config = {
|
this._oauth_config.oauth_client_id = import.meta.env.VITE_OSM_OAUTH_CLIENT_ID
|
||||||
oauth_client_id: import.meta.env.VITE_OSM_OAUTH_CLIENT_ID,
|
this._oauth_config.oauth_secret = import.meta.env.VITE_OSM_OAUTH_SECRET
|
||||||
oauth_secret: import.meta.env.VITE_OSM_OAUTH_SECRET,
|
|
||||||
url: "https://api.openstreetmap.org",
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.userDetails = new UIEventSource<UserDetails>(
|
this.userDetails = new UIEventSource<UserDetails>(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue