logo
All checks were successful
Build & Deploy / deploy (push) Successful in 42s

This commit is contained in:
2026-01-16 13:52:28 +01:00
parent e9f19220b2
commit 11404b3998
2 changed files with 4 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 204 KiB

View File

@@ -16,7 +16,10 @@ app.use(helmet({
contentSecurityPolicy: {
directives: {
...helmet.contentSecurityPolicy.getDefaultDirectives(),
"img-src": ["'self'", "data:"],
"script-src": ["'self'", "'sha256-YX4iJw93x5SU0ple+RI+95HNdNBZSA60gR8a5v7HfOA='", "'sha256-ieoeWczDHkReVBsRBqaal5AFMlBtNjMzgwKvLqi/tSU='"],
"img-src": ["'self'", "data:", "blob:"],
"style-src": ["'self'", "'unsafe-inline'", "https://fonts.googleapis.com"],
"font-src": ["'self'", "https://fonts.gstatic.com"],
},
},
}));