Merge remote-tracking branch 'origin/main' into feature/#321

This commit is contained in:
2025-02-07 20:08:19 +01:00
3 changed files with 87 additions and 87 deletions

View File

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