Skip to content

Commit

Permalink
fix(security): add script-src in csp header
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcl-io committed Apr 14, 2021
1 parent 9495817 commit 2c1e271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/_headers
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/*
X-Frame-Options: DENY
Content-Security-Policy-Report-Only: default-src 'none'; style-src 'self' 'unsafe-inline'; connect-src 'self' https://us-central1-slater-notes.cloudfunctions.net; require-trusted-types-for 'script';
Content-Security-Policy-Report-Only: default-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self'; connect-src 'self' https://us-central1-slater-notes.cloudfunctions.net; require-trusted-types-for 'script';

0 comments on commit 2c1e271

Please sign in to comment.