From a9d17aba9e4e07ba78f87f801432c2848d8f7a41 Mon Sep 17 00:00:00 2001 From: Ratchet7x5 <36789694+Ratchet7x5@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:17:48 +1300 Subject: [PATCH] attempt to fix cors error in BE with text/html --- api/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/index.ts b/api/index.ts index aef076e..4e8a3ad 100644 --- a/api/index.ts +++ b/api/index.ts @@ -60,6 +60,7 @@ app.use( "st-auth-mode", "content-type", "application/json", + "text/html", ...supertokens.getAllCORSHeaders(), ], credentials: true,