This commit is contained in:
gsmithun4 2024-08-09 18:01:17 +05:30
parent 8d9d86cf2c
commit 1c57ae7fc8

View file

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