Override keys

This commit is contained in:
Robin van der Linde 2023-10-03 20:09:19 +02:00
parent 5ea08040d7
commit 83d936d98c
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -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>(