From 5b5ac02998f95479932adc53ae135756c0871eee Mon Sep 17 00:00:00 2001 From: Danila Simonov Date: Mon, 4 Dec 2023 15:37:13 +0100 Subject: [PATCH] WSS fix for CSP --- nextjs/csp/policies/ylideRpcs.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nextjs/csp/policies/ylideRpcs.ts b/nextjs/csp/policies/ylideRpcs.ts index a7aacd2a5d..3c5d495be0 100644 --- a/nextjs/csp/policies/ylideRpcs.ts +++ b/nextjs/csp/policies/ylideRpcs.ts @@ -78,6 +78,13 @@ export function ylideRpcs(): CspDev.DirectiveDescriptor { 'celoscan.io', 'andromeda.metis.io', 'andromeda-explorer.metis.io', + 'wss://*.ylide.io', + 'wss://*.alchemy.com', + 'wss://*.infura.io', + 'wss://*.nodereal.io', + 'wss://rpc.gnosischain.com', + 'wss://forno.celo.org', + 'wss://wss.api.moonbeam.network', ], }; }