From e309e4f71b4d84af87a056d38a0b87da5256aa36 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 4 Oct 2025 02:59:34 +0300 Subject: [PATCH] refactor: update security middleware to disable COOP and CORP for HTTP access --- src/backend/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/index.ts b/src/backend/index.ts index 26a6a99..afd5316 100644 --- a/src/backend/index.ts +++ b/src/backend/index.ts @@ -35,6 +35,8 @@ app.use( }, }, strictTransportSecurity: false, // Disable HSTS to allow HTTP access + crossOriginOpenerPolicy: false, // Disable COOP to allow HTTP access + crossOriginResourcePolicy: false, // Disable CORP to allow HTTP access }) );