Use a better var name

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2022-10-26 14:27:41 +02:00
parent cef88e2894
commit c4c99c4bcb
No known key found for this signature in database
GPG key ID: D1D45825D60C24D2
2 changed files with 2 additions and 2 deletions

View file

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

View file

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