|
|
|
@ -39,7 +39,9 @@ async function bootstrap() {
|
|
|
|
|
helmet({
|
|
|
|
|
contentSecurityPolicy: {
|
|
|
|
|
directives: {
|
|
|
|
|
scriptSrc: ["'self'", "'unsafe-inline'"] // Allow inline scripts / styles
|
|
|
|
|
scriptSrc: ["'self'", "'unsafe-inline'"], // Allow inline scripts
|
|
|
|
|
scriptSrcAttr: ["'self'", "'unsafe-inline'"], // Allow inline event handlers
|
|
|
|
|
styleSrc: ["'self'", "'unsafe-inline'"] // Allow inline styles
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|