Skip to content

Commit

Permalink
Edit: Disable Content-Security-Policy (CSP) for now due to breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlelek committed Aug 11, 2024
1 parent 9ecc2ca commit 2307ea2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ function initialize(config) {

// Setup Express
app.use(logger('dev'));
app.use(helmet());
app.use(helmet({
// TODO: Refine
contentSecurityPolicy: false,
}));
app.use(body_parser.json());
app.use(body_parser.urlencoded({ extended: false }));
app.use(cookie_parser());
Expand Down

0 comments on commit 2307ea2

Please sign in to comment.