From 3912314a83c2d84dc8a35ac9db0cbd38d1b5ebdf 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, }),