From 1c57ae7fc8ac814ef186f17b486476b9544bd5c1 Mon Sep 17 00:00:00 2001 From: gsmithun4 Date: Fri, 9 Aug 2024 18:01:17 +0530 Subject: [PATCH] fix --- server/src/main.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server/src/main.ts b/server/src/main.ts index 6f9ce30797..0188c250f9 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -88,11 +88,7 @@ function setSecurityHeaders(app, configService) { 'frame-src': ['*'], }, }, - frameguard: - configService.get('DISABLE_APP_EMBED') !== 'true' || - configService.get('ENABLE_PRIVATE_APP_EMBED') === 'true' - ? false - : { action: 'deny' }, + frameguard: configService.get('DISABLE_APP_EMBED') !== 'true' ? false : { action: 'deny' }, hidePoweredBy: true, referrerPolicy: { policy: 'no-referrer',