From c588dd1c90233f83b926e0e6b9ca1a5873b697b0 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Mon, 19 Aug 2024 21:56:14 +0200 Subject: [PATCH] fix: :bug: Allow all headers during CORS --- app.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app.ts b/app.ts index a2e332da..aa23623e 100644 --- a/app.ts +++ b/app.ts @@ -76,7 +76,6 @@ export const appFactory = async () => { app.use( cors({ origin: "*", - allowHeaders: ["Content-Type", "Authorization"], allowMethods: ["GET", "POST", "PUT", "PATCH", "DELETE"], credentials: true, }),