Merge pull request #1643 from pietervdvn/RobinLinde-patch-2

Add vending items, relatify icon
This commit is contained in:
Pieter Vander Vennet 2023-10-05 20:43:44 +00:00 committed by GitHub
commit 2f90e9f74a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 1789 additions and 58 deletions

View file

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