forked from MapComplete/MapComplete
Merge pull request #1643 from pietervdvn/RobinLinde-patch-2
Add vending items, relatify icon
This commit is contained in:
commit
2f90e9f74a
16 changed files with 1789 additions and 58 deletions
|
@ -72,11 +72,8 @@ export class OsmConnection {
|
|||
import.meta.env.VITE_OSM_OAUTH_SECRET !== undefined
|
||||
) {
|
||||
console.debug("Using environment variables for oauth config")
|
||||
this._oauth_config = {
|
||||
oauth_client_id: import.meta.env.VITE_OSM_OAUTH_CLIENT_ID,
|
||||
oauth_secret: import.meta.env.VITE_OSM_OAUTH_SECRET,
|
||||
url: "https://api.openstreetmap.org",
|
||||
}
|
||||
this._oauth_config.oauth_client_id = import.meta.env.VITE_OSM_OAUTH_CLIENT_ID
|
||||
this._oauth_config.oauth_secret = import.meta.env.VITE_OSM_OAUTH_SECRET
|
||||
}
|
||||
|
||||
this.userDetails = new UIEventSource<UserDetails>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue