Merge remote-tracking branch 'origin/main' into feature/#321
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user