From c4c99c4bcbece29c1e034e67d325b7bcd9faf6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Wed, 26 Oct 2022 14:27:41 +0200 Subject: [PATCH] Use a better var name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- .env.example | 2 +- src/matrix-utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;