chore: add .env
This commit is contained in:
parent
02ed889065
commit
e0ab01c02a
1 changed files with 1 additions and 1 deletions
|
|
@ -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.'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue