Skip to content

Commit

Permalink
add "frame-ancestors" rule for WalletConnect CSP policy
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Apr 26, 2024
1 parent cc4f822 commit 13ccacf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nextjs/csp/policies/walletConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export function walletConnect(): CspDev.DirectiveDescriptor {
'wss://relay.walletconnect.com',
'wss://www.walletlink.org',
],
'frame-ancestors': [
'*.walletconnect.org',
'*.walletconnect.com',
],
'img-src': [
KEY_WORDS.BLOB,
'*.walletconnect.com',
Expand Down

0 comments on commit 13ccacf

Please sign in to comment.