From 0d9f4a5f038358430fa4b63a69cd2a42aa48b0cb Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sat, 6 Nov 2021 19:53:16 -0700 Subject: [PATCH] Fix cookies on ACP for SIO4 upgrade --- www/js/acp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/js/acp.js b/www/js/acp.js index 55de7ae6..452c317c 100644 --- a/www/js/acp.js +++ b/www/js/acp.js @@ -2,7 +2,8 @@ var chosenServer = IO_SERVERS[0]; // Is the array even necessary for the ACP? var opts = { - secure: chosenServer.secure + secure: chosenServer.secure, + withCredentials: true // needed for sio cookie to work }; window.socket = io.connect(chosenServer.url, opts);