small improvements and fixes

This commit is contained in:
zadam
2020-08-06 00:06:42 +02:00
parent ddf0a89e1f
commit f60af1f05e
9 changed files with 29 additions and 20 deletions

View File

@@ -23,7 +23,7 @@ app.use(helmet({
hidePoweredBy: false, // deactivated because electron 4.0 crashes on this right after startup
contentSecurityPolicy: {
directives: {
defaultSrc: ["*", "'unsafe-inline'"]
defaultSrc: ["*", "'unsafe-inline'", "'unsafe-eval'"]
}
}
}));