diff --git a/src/modules/webserver.js b/src/modules/webserver.js index 10760e8b7..45aeb08af 100644 --- a/src/modules/webserver.js +++ b/src/modules/webserver.js @@ -57,13 +57,8 @@ function serveAttachments(req, res) { const server = express(); server.use(helmet({ - contentSecurityPolicy: { - directives: { - "frame-ancestors": ["'self'", "buildtheearth.net", "*.buildtheearth.net", "*"], - }, - - }, -frameguard: false})); + frameguard: false +})); server.use(cors()); server.get("/logs/:threadId", serveLogs);