Cleaned character create event

This commit is contained in:
2025-02-09 17:13:22 +01:00
parent e3c3d4d420
commit 275dd95c69
6 changed files with 30 additions and 40 deletions

View File

@ -73,7 +73,7 @@ export const useGameStore = defineStore('game', {
},
initConnection() {
this.connection = io(config.server_endpoint, {
secure: (config.environment === 'production'),
secure: config.environment === 'production',
withCredentials: true,
transports: ['websocket'],
reconnectionAttempts: 5