From c9c19ec4e45099271e66c0164cbe320fc00bb20a Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Mon, 20 Jan 2025 07:06:30 +0100 Subject: [PATCH] fix: coinbase qr code modal (#8613) --- react-app-rewired/headers/csps/wallets/coinbase.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 react-app-rewired/headers/csps/wallets/coinbase.ts diff --git a/react-app-rewired/headers/csps/wallets/coinbase.ts b/react-app-rewired/headers/csps/wallets/coinbase.ts new file mode 100644 index 00000000000..339b501945f --- /dev/null +++ b/react-app-rewired/headers/csps/wallets/coinbase.ts @@ -0,0 +1,8 @@ +import type { Csp } from '../../types' + +export const csp: Csp = { + 'connect-src': [ + // https://github.com/coinbase/coinbase-wallet-sdk/blob/16fe7720c30129debf7ada84f50bdf069539efec/packages/wallet-sdk/src/core/constants.ts#L3 + 'wss://www.walletlink.org/rpc', + ], +}