From f4bb1d91c2a96837cc197180b6bc135b2a231664 Mon Sep 17 00:00:00 2001 From: chatenium Date: Sun, 5 Apr 2026 15:57:22 +0200 Subject: [PATCH] WebSocket update --- src/core/environment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/environment.ts b/src/core/environment.ts index 862e412..acaa9f1 100644 --- a/src/core/environment.ts +++ b/src/core/environment.ts @@ -23,7 +23,7 @@ const getEnv = (key: string): string | undefined => { const DefaultEnvironment: SDKConfig = { apiUrl: getEnv('API_URL') ?? "https://api.chatenium.hu", cdnUrl: getEnv('CDN_URL') ?? "https://cdn.chatenium.hu", - cdnUrl: getEnv('WS_URL') ?? "wss://api.chatenium.hu", + wsUrl: getEnv('WS_URL') ?? "wss://api.chatenium.hu", }; let currentConfig: SDKConfig = { ...DefaultEnvironment };