Fix CSP to allow Google Fonts and Gravatar avatars
All checks were successful
Build & Push Container Image / build (push) Successful in 5s
All checks were successful
Build & Push Container Image / build (push) Successful in 5s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
31dfbe3cca
commit
4d8c2a301c
1 changed files with 3 additions and 3 deletions
|
|
@ -57,10 +57,10 @@ app.use((_req, res, next) => {
|
|||
res.setHeader('Content-Security-Policy', [
|
||||
"default-src 'self'",
|
||||
"script-src 'self'",
|
||||
"style-src 'self' 'unsafe-inline'",
|
||||
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
|
||||
`connect-src 'self' wss://${isProd ? new URL(frontendUrl).host : '*'}`,
|
||||
"img-src 'self' https://*.atl-paas.net https://*.atlassian.com https://secure.gravatar.com data:",
|
||||
"font-src 'self'",
|
||||
"img-src 'self' https://*.atl-paas.net https://*.atlassian.com https://secure.gravatar.com https://*.gravatar.com data:",
|
||||
"font-src 'self' https://fonts.gstatic.com",
|
||||
"object-src 'none'",
|
||||
"base-uri 'self'",
|
||||
"form-action 'self'",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue