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',