fix maibi

This commit is contained in:
Dennis Postma 2024-07-10 22:35:36 +02:00
parent 314730bf4b
commit 5260f6fbbe

View File

@ -14,6 +14,7 @@ export const useSocketStore: StoreDefinition = defineStore('socket', {
actions: {
initConnection() {
this.connection = io(config.server_endpoint, {
secure: !config.development,
withCredentials: true,
transports: ['websocket'],
reconnectionAttempts: 5