From 7489ca65390fdceafe6ed7a6ff8fc0372cd091bf Mon Sep 17 00:00:00 2001 From: Ratchet7x5 <36789694+Ratchet7x5@users.noreply.github.com> Date: Thu, 12 Dec 2024 19:40:15 +1300 Subject: [PATCH] add missing authorization header to cors in BE --- api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/index.ts b/api/index.ts index 2208d18..255deca 100644 --- a/api/index.ts +++ b/api/index.ts @@ -58,8 +58,8 @@ app.use( "Access-Control-Allow-Origin", "Access-Control-Allow-Headers", "Content-type", + "Authorization", "Origin", - "Access-Control-Allow-Origin", "Accept", "Options", "X-Requested-With",