Updated Dockerfile, renamed config key

This commit is contained in:
2025-02-07 01:14:57 +01:00
parent 6a52546a08
commit 6ba4c1b843
7 changed files with 12 additions and 12 deletions

View File

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