Skip to content

Commit

Permalink
fix: resolve csp error block v3 config (#350)
Browse files Browse the repository at this point in the history
Co-authored-by: nghaninn <43451336+nghaninn@users.noreply.github.com>
  • Loading branch information
tradetrustimda and nghaninn authored Nov 18, 2024
1 parent 2817edf commit 11ec913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
[headers.values]
X-Content-Type-Options = "nosniff"
Strict-Transport-Security = "max-age=31536000; includeSubDomains"
Content-Security-Policy = "default-src 'self'; img-src 'self'; style-src 'self' https://fonts.googleapis.com https://use.fontawesome.com 'unsafe-inline'; script-src 'self' https://identity.netlify.com https://www.googletagmanager.com 'nonce-{nonce}' 'unsafe-eval'; font-src 'self' data: https://fonts.gstatic.com https://use.fontawesome.com https://ui.tradetrust.io; connect-src 'self' https://www.google-analytics.com https://*.infura.io/v3/ https://identity.netlify.com https://dns.google https://cloudflare-dns.com https://mainnet.hashio.io/api https://testnet.hashio.io/api https://free.testnet.stabilityprotocol.com https://gtn.stabilityprotocol.com https://erpc.apothem.network https://erpc.xinfin.network https://polygon-rpc.com https://*.xdcrpc.com https://api.etherscan.io https://gasstation.polygon.technology/v2 https://gasstation-testnet.polygon.technology/v2 https://gallery.openattestation.com https://astronlayer2.bitfactory.cn/rpc/ https://astronscanl2.bitfactory.cn/gas-station https://tradetrust-functions.netlify.app; frame-src * https://app.netlify.com; frame-ancestors 'self'; object-src 'none';"
Content-Security-Policy = "default-src 'self'; img-src 'self'; style-src 'self' https://fonts.googleapis.com https://use.fontawesome.com 'unsafe-inline'; script-src 'self' https://identity.netlify.com https://www.googletagmanager.com 'nonce-{nonce}' 'unsafe-eval'; font-src 'self' data: https://fonts.gstatic.com https://use.fontawesome.com https://ui.tradetrust.io; connect-src *; frame-src * https://app.netlify.com; frame-ancestors 'self'; object-src 'none';"

0 comments on commit 11ec913

Please sign in to comment.