diff --git a/.env.example b/.env.example index 963a584..7b63f42 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/src/matrix-utils.ts b/src/matrix-utils.ts index 5a92772..8f6b781 100644 --- a/src/matrix-utils.ts +++ b/src/matrix-utils.ts @@ -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;