From fe8cba98982a8032e3dba83287ffc6ca22333f80 Mon Sep 17 00:00:00 2001 From: GiraeffleAeffle <48856967+GiraeffleAeffle@users.noreply.github.com> Date: Sat, 2 Jul 2022 14:45:08 +0200 Subject: [PATCH] Change to new RPC endpoint The frontend doesnt load the balance of the user because it still uses the old rpc endpoint. Therefore replace the old endpoint with the new one ( "https://rpc.gnosischain.com/" ) Error message: Access to fetch at 'https://rpc.xdaichain.com/' from origin 'https://lock.gnosis.io' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. --- packages/app/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/config.ts b/packages/app/config.ts index 6f395b8..a20f3e7 100644 --- a/packages/app/config.ts +++ b/packages/app/config.ts @@ -36,7 +36,7 @@ export const CHAINS: Chain[] = [ name: "xDai", symbol: "xDAI", }, - rpcUrls: ["https://rpc.xdaichain.com/"], + rpcUrls: ["https://rpc.gnosischain.com/"], blockExplorers: [ { name: "Blockscout", url: "https://blockscout.com/xdai/mainnet" }, ],