From e1ad06cce6fb64ec0d58d7d218a3d75ee11ea356 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Thu, 22 Aug 2024 14:17:41 -0400 Subject: [PATCH] include 'ACAC: true' in proxy response header --- lib/run-proxy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/run-proxy.js b/lib/run-proxy.js index 882f575..7668636 100644 --- a/lib/run-proxy.js +++ b/lib/run-proxy.js @@ -15,6 +15,7 @@ app.use( on: { proxyRes: (proxyRes) => { proxyRes.headers['Access-Control-Allow-Origin'] = `http://localhost:${PORT}`; + proxyRes.headers['Access-Control-Allow-Credentials'] = 'true'; }, }, }),