From 19a9f44d3a411583621461db1d356365c6a26b1a Mon Sep 17 00:00:00 2001 From: Vadim Date: Thu, 26 Mar 2026 09:37:54 +0300 Subject: [PATCH] wip --- .env.production | 2 +- src/stores/sockets.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 02f394b..4bddbaf 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ VITE_API_URL=https://chat.madsky.ru -VITE_WS_URL=ws://localhost:3000 \ No newline at end of file +VITE_WS_URL=ws://chat.madsky.ru \ No newline at end of file diff --git a/src/stores/sockets.ts b/src/stores/sockets.ts index 3b49c01..1616d4c 100644 --- a/src/stores/sockets.ts +++ b/src/stores/sockets.ts @@ -32,7 +32,7 @@ export enum COMMAND { } export const useSocketsStore = defineStore('sockets', () => { - const url = import.meta.env.WS_URL + '/ws' + const url = import.meta.env.VITE_WS_URL + '/ws' const authStore = useAuthStore() const chatsStore = useChatsStore()