mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
fix: updated main (#12667)
This commit is contained in:
parent
09040c3ec1
commit
7995d967e0
1 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ function setSecurityHeaders(app, configService) {
|
|||
'cdn.jsdelivr.net',
|
||||
'https://esm.sh',
|
||||
'www.googletagmanager.com',
|
||||
],
|
||||
].concat(configService.get('CSP_WHITELISTED_DOMAINS')?.split(',') || []),
|
||||
'object-src': ["'self'", 'data:'],
|
||||
'media-src': ["'self'", 'data:'],
|
||||
'default-src': [
|
||||
|
|
@ -120,7 +120,7 @@ function setSecurityHeaders(app, configService) {
|
|||
"'self'",
|
||||
'blob:',
|
||||
'www.googletagmanager.com',
|
||||
],
|
||||
].concat(configService.get('CSP_WHITELISTED_DOMAINS')?.split(',') || []),
|
||||
'connect-src': ['ws://' + domain, "'self'", '*', 'data:'],
|
||||
'frame-ancestors': ['*'],
|
||||
'frame-src': ['*'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue