From 82dd81c7cb793e2d85a7e5d898576268f9daaabf Mon Sep 17 00:00:00 2001 From: HarishTeens Date: Tue, 5 Dec 2023 17:51:22 +0530 Subject: [PATCH] Set Allow Credentials Header to True --- lib/cors-anywhere.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cors-anywhere.js b/lib/cors-anywhere.js index eb4f47c5..e4b9bdd6 100644 --- a/lib/cors-anywhere.js +++ b/lib/cors-anywhere.js @@ -66,6 +66,7 @@ function withCORS(headers, request) { } headers['access-control-expose-headers'] = Object.keys(headers).join(','); + headers['access-control-allow-credentials'] = 'true'; return headers; }