This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
VITE_API_URL=https://chat.madsky.ru
|
VITE_API_URL=https://chat.madsky.ru
|
||||||
VITE_WS_URL=ws://localhost:3000
|
VITE_WS_URL=ws://chat.madsky.ru
|
||||||
@@ -32,7 +32,7 @@ export enum COMMAND {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const useSocketsStore = defineStore('sockets', () => {
|
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 authStore = useAuthStore()
|
||||||
const chatsStore = useChatsStore()
|
const chatsStore = useChatsStore()
|
||||||
|
|||||||
Reference in New Issue
Block a user