diff --git a/Services/client/src/stores/storage.ts b/Services/client/src/stores/storage.ts index 2eebab0..174346b 100644 --- a/Services/client/src/stores/storage.ts +++ b/Services/client/src/stores/storage.ts @@ -187,7 +187,7 @@ const useStorage = defineStore('storageStore', () => { } // socket.io zone - const socket = io('http://localhost:25565') + const socket = io(import.meta.env.VITE_API_HOST) socket.on('connect', () => console.info('Socket.io connected.')) socket.on('disconnect', () => console.info('Socket.io disconnected.'))