mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
fix
This commit is contained in:
parent
8d9d86cf2c
commit
1c57ae7fc8
1 changed files with 1 additions and 5 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue