diff --git a/src/api/Server.ts b/src/api/Server.ts index 81c5055..8cd6063 100644 --- a/src/api/Server.ts +++ b/src/api/Server.ts @@ -54,7 +54,11 @@ export default class Server { this.app.use(helmet({ hsts: false, hidePoweredBy: false, - contentSecurityPolicy: true, + contentSecurityPolicy: { + directives: { + defaultSrc: ['self'], + }, + }, })); this.app.use(bodyParser.json()); this.app.listen(this.options.port, () => {