diff --git a/src/class/Server.ts b/src/class/Server.ts index c62a02d..908af97 100644 --- a/src/class/Server.ts +++ b/src/class/Server.ts @@ -58,11 +58,7 @@ export default class Server { this.app.use(helmet({ hsts: false, hidePoweredBy: false, - contentSecurityPolicy: { - directives: { - defaultSrc: ["'*'"], - }, - }, + contentSecurityPolicy: false, })); this.app.use(bodyParser.json()); this.app.use(bodyParser.urlencoded({ extended: true }));