Skip to content

Commit

Permalink
updated things to work with new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
erdtman committed Aug 12, 2020
1 parent 05d2b52 commit 3940821
Show file tree
Hide file tree
Showing 4 changed files with 6,523 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const app = express();
const cspPolicy = {
'report-uri': '/reporting',
'default-src': csp.SRC_NONE,
'script-src': [ csp.SRC_SELF, csp.SRC_DATA ]
'script-src': [csp.SRC_SELF, csp.SRC_DATA]
};

const globalCSP = csp.getCSP(csp.STARTER_OPTIONS);
Expand Down
Loading

0 comments on commit 3940821

Please sign in to comment.