Skip to content

Commit

Permalink
Fix csp warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding committed Apr 25, 2022
1 parent 356bd41 commit 8c20ba7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,11 @@ app.use(
function (req, res) {
return "'nonce-" + res.locals.nonce + "'";
},
"'unsafe-inline'",
"http:",
"https:",
],
styleSrc: [
function (req, res) {
return "'nonce-" + res.locals.nonce + "'";
},
"'unsafe-inline'",
"http:",
"https:",
],
Expand Down

0 comments on commit 8c20ba7

Please sign in to comment.