Skip to content

Commit

Permalink
Change to new RPC endpoint
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
GiraeffleAeffle authored Jul 2, 2022
1 parent 544a97d commit fe8cba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
],
Expand Down

0 comments on commit fe8cba9

Please sign in to comment.