From 5260f6fbbebc89b85ffc1a7698f42b728d5544ae Mon Sep 17 00:00:00 2001 From: Dennis Postma Date: Wed, 10 Jul 2024 22:35:36 +0200 Subject: [PATCH] fix maibi --- src/stores/socket.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stores/socket.ts b/src/stores/socket.ts index 068460e..a3d582b 100644 --- a/src/stores/socket.ts +++ b/src/stores/socket.ts @@ -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