From 633245f57ba4b0ded908e3d54f440f625cd6d2da Mon Sep 17 00:00:00 2001 From: Abhinav Date: Fri, 30 Jun 2023 15:07:14 +0530 Subject: [PATCH] remove coep and coop from _headers --- apps/photos/next.config.js | 2 -- apps/photos/public/_headers | 2 -- 2 files changed, 4 deletions(-) diff --git a/apps/photos/next.config.js b/apps/photos/next.config.js index 28441b95d..3d4340556 100644 --- a/apps/photos/next.config.js +++ b/apps/photos/next.config.js @@ -9,7 +9,6 @@ const { getGitSha, convertToNextHeaderFormat, buildCSPHeader, - COOP_COEP_HEADERS, WEB_SECURITY_HEADERS, CSP_DIRECTIVES, ALL_ROUTES, @@ -64,7 +63,6 @@ module.exports = (phase) => // Apply these headers to all routes in your application.... source: ALL_ROUTES, headers: convertToNextHeaderFormat({ - ...COOP_COEP_HEADERS, ...WEB_SECURITY_HEADERS, ...buildCSPHeader(CSP_DIRECTIVES), }), diff --git a/apps/photos/public/_headers b/apps/photos/public/_headers index caa299ea2..72dc5bb5c 100644 --- a/apps/photos/public/_headers +++ b/apps/photos/public/_headers @@ -1,7 +1,5 @@ /* Cache-Control: no-store, must-revalidate - Cross-Origin-Embedder-Policy: require-corp - Cross-Origin-Opener-Policy: same-origin Strict-Transport-Security: max-age=63072000 X-Content-Type-Options: nosniff X-Download-Options: noopen