Skip to content

Commit

Permalink
WIP Test internet.nl
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Apr 8, 2024
1 parent 98a2b2b commit 7a8b77e
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions pwa/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,14 @@ module.exports = {
resolve: `gatsby-plugin-csp`,
options: {
disableOnDev: true,
reportOnly: false, // Changes header to Content-Security-Policy-Report-Only for csp testing purposes
mergeScriptHashes: true, // you can disable scripts sha256 hashes
mergeStyleHashes: true, // you can disable styles sha256 hashes
reportOnly: false,
mergeScriptHashes: false,
mergeStyleHashes: false,
mergeDefaultDirectives: true,
directives: {
"default-src": "'self'",
"base-uri": "'self'",
"frame-src": "'self'",
"frame-ancestors": "'self'",
"img-src":
"'self' https://www.conduction.nl https://conduction.nl https://raw.githubusercontent.com/ConductionNL/woo-website-*",
"form-action": "'self'",
"connect-src":
"'self' https://api.gateway.commonground.nu https://raw.githubusercontent.com/ConductionNL",
// you can add your directives or override defaults
"img-src": "'self' https://www.conduction.nl https://conduction.nl https://raw.githubusercontent.com/ConductionNL/woo-website-*",
},
},
},
Expand Down

0 comments on commit 7a8b77e

Please sign in to comment.