Skip to content

Commit

Permalink
chore: add NEXT_PUBLIC_SECURE_SITE_SDK_URL to CSP (#2791)
Browse files Browse the repository at this point in the history
Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
  • Loading branch information
tomiir and zoruka authored Sep 4, 2024
1 parent 7f3b8c3 commit 934cb71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/laboratory/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const cspHeader = `
img-src * 'self' data: blob: https://walletconnect.org https://walletconnect.com https://secure.walletconnect.com https://secure.walletconnect.org https://tokens-data.1inch.io https://tokens.1inch.io https://ipfs.io https://lab.web3modal.com;
font-src 'self' https://fonts.gstatic.com;
connect-src 'self' https://react-wallet.walletconnect.com https://rpc.walletconnect.com https://rpc.walletconnect.org https://relay.walletconnect.com https://relay.walletconnect.org wss://relay.walletconnect.com wss://relay.walletconnect.org https://pulse.walletconnect.com https://pulse.walletconnect.org https://api.web3modal.com https://api.web3modal.org wss://www.walletlink.org https://o1095249.ingest.sentry.io;
frame-src 'self' https://verify.walletconnect.com https://verify.walletconnect.org https://secure.walletconnect.com https://secure.walletconnect.org;
frame-src 'self' https://verify.walletconnect.com https://verify.walletconnect.org https://secure.walletconnect.com https://secure.walletconnect.org ${
process.env.NEXT_PUBLIC_SECURE_SITE_SDK_URL || ''
};
object-src 'none';
base-uri 'self';
form-action 'self';
Expand Down

0 comments on commit 934cb71

Please sign in to comment.