Use a better var name
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								cef88e2894
							
						
					
				
			
			
				commit
				
					
						c4c99c4bcb
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,7 @@
 | 
			
		|||
 | 
			
		||||
# Used for determining the homeserver to use for short urls etc.
 | 
			
		||||
# VITE_DEFAULT_HOMESERVER=http://localhost:8008
 | 
			
		||||
# VITE_FALLBACK_ICE_ALLOWED=true
 | 
			
		||||
# VITE_FALLBACK_STUN_ALLOWED=true
 | 
			
		||||
 | 
			
		||||
# Used for submitting debug logs to an external rageshake server
 | 
			
		||||
# VITE_RAGESHAKE_SUBMIT_URL=http://localhost:9110/api/submit
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,7 @@ export const defaultHomeserver =
 | 
			
		|||
  (import.meta.env.VITE_DEFAULT_HOMESERVER as string) ??
 | 
			
		||||
  `${window.location.protocol}//${window.location.host}`;
 | 
			
		||||
export const fallbackICEServerAllowed =
 | 
			
		||||
  import.meta.env.VITE_FALLBACK_ICE_ALLOWED === "true";
 | 
			
		||||
  import.meta.env.VITE_FALLBACK_STUN_ALLOWED === "true";
 | 
			
		||||
 | 
			
		||||
export const defaultHomeserverHost = new URL(defaultHomeserver).host;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue