Skip to content

Commit

Permalink
Update webserver.js
Browse files Browse the repository at this point in the history
  • Loading branch information
XboxBedrock authored Apr 14, 2024
1 parent 96ac964 commit 281aee2
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/modules/webserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 281aee2

Please sign in to comment.