Skip to content

Commit

Permalink
fix: add the unsafe-eval as poc
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterMoar committed Feb 19, 2025
1 parent a3eb795 commit be366b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ app.use((_req, res, next) => {
"default-src 'self'; " +
"connect-src 'self' https://dev.loginproxy.gov.bc.ca; " +
"font-src 'self' https://fonts.gstatic.com; " +
"script-src 'self' 'unsafe-eval'; " +
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com"
);
next();
Expand Down

0 comments on commit be366b0

Please sign in to comment.