chore: add .env

This commit is contained in:
Methapon2001 2023-12-12 16:42:30 +07:00
parent 02ed889065
commit e0ab01c02a
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -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.'))