File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11// TODO: remove once env variables are added to vercel.
22export const LOOPRING_SUBGRAPH =
33 process . env . NEXT_PUBLIC_SUBGRAPH_ENDPOINT ??
4- 'https://gateway .thegraph.com/api/294a874dfcbae25bcca653a7f56cfb63/ subgraphs/id/7QP7oCLbEAjejkp7wSLTD1zbRMSiDydAmALksBB5E6i1 ' ;
4+ 'https://api .thegraph.com/subgraphs/name/loopring/loopring ' ;
55export const EXPLORER_URL = 'https://etherscan.io/' ;
66export const INFURA_ENDPOINT =
7- process . env . NEXT_PUBLIC_INFURA_ENDPOINT ?? 'https://mainnet.infura.io/v3/873030883ea1405898041be94ab2bfd5' ;
7+ process . env . NEXT_PUBLIC_INFURA_ENDPOINT
8+ ? process . env . NEXT_PUBLIC_INFURA_ENDPOINT
9+ : window . location === '' ? 'https://mainnet.infura.io/v3/873030883ea1405898041be94ab2bfd5' ;
810export const UNISWAP_SUBGRAPH = 'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2' ;
911export const LOOPRING_API = 'https://api3.loopring.io/api/v3/' ;
1012export const apiEndpointByTxType = {
You can’t perform that action at this time.
0 commit comments