From f4e6728936e199ae5f1972389b534f3823083637 Mon Sep 17 00:00:00 2001 From: Bart van Beusekom Date: Tue, 6 Feb 2024 15:47:23 +0100 Subject: [PATCH] Include ARR affinity credentials when sending cookie request so that sticky sessions are functioning properly --- src/app/services/socketio-connect.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/services/socketio-connect.service.ts b/src/app/services/socketio-connect.service.ts index 0c2cee1b..147ca8c2 100644 --- a/src/app/services/socketio-connect.service.ts +++ b/src/app/services/socketio-connect.service.ts @@ -23,6 +23,7 @@ export class SocketioConnectService { // connect to tasks namespace const namespace = '/tasks'; this.socket = io(`${environment.server_url}${namespace}`, { + withCredentials: true, extraHeaders: { Authorization: `Bearer ${token}` }