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 | ||||
|         ) { | ||||
|             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