From 170f66bcbb2afba992d14e88ee9231f35519698b Mon Sep 17 00:00:00 2001 From: RedH <114261766+thisRedH@users.noreply.github.com> Date: Fri, 5 Jul 2024 19:47:29 +0200 Subject: [PATCH] fix: use wss instead of https for Event endpoint (#298) Signed-off-by: thisRedH --- packages/client/components/common/lib/env.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/components/common/lib/env.ts b/packages/client/components/common/lib/env.ts index 69f4b49..4cec8f9 100644 --- a/packages/client/components/common/lib/env.ts +++ b/packages/client/components/common/lib/env.ts @@ -12,7 +12,7 @@ export default { DEFAULT_WS_URL: (import.meta.env.DEV ? import.meta.env.VITE_DEV_WS_URL : undefined) ?? (import.meta.env.VITE_WS_URL as string) ?? - "https://revolt.chat/events", + "wss://revolt.chat/events", /** * What media server to connect to by default. */