Skip to content

Commit

Permalink
feat(Config): remove fallback rpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
phonktown committed Oct 7, 2024
1 parent a625994 commit 88ede46
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
const basePath = process.env.BASE_PATH || ''
const publicMainnetRPCs = [
'https://api.noderpc.xyz/rpc-mainnet/public',
'https://ethereum.publicnode.com',
'https://nodes.mewapi.io/rpc/eth',
]

const rpcUrls_1 =
(process.env.EL_RPC_URLS_1 && process.env.EL_RPC_URLS_1.split(',')) || publicMainnetRPCs
(process.env.EL_RPC_URLS_1 && process.env.EL_RPC_URLS_1.split(','))
const rpcUrls_5 =
process.env.EL_RPC_URLS_5 && process.env.EL_RPC_URLS_5.split(',')
const rpcUrls_17000 =
Expand Down

0 comments on commit 88ede46

Please sign in to comment.