Skip to content

Commit b9ff723

Browse files
committed
reverse code
1 parent 76208a5 commit b9ff723

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

utils/config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ export const LOOPRING_SUBGRAPH =
44
'https://api.thegraph.com/subgraphs/name/loopring/loopring';
55
export const EXPLORER_URL = 'https://etherscan.io/';
66
export const INFURA_ENDPOINT =
7-
process.env.NEXT_PUBLIC_INFURA_ENDPOINT
8-
? process.env.NEXT_PUBLIC_INFURA_ENDPOINT
9-
: window.location === '' ? 'https://mainnet.infura.io/v3/873030883ea1405898041be94ab2bfd5';
7+
process.env.NEXT_PUBLIC_INFURA_ENDPOINT ?? 'https://mainnet.infura.io/v3/873030883ea1405898041be94ab2bfd5';
108
export const UNISWAP_SUBGRAPH = 'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2';
119
export const LOOPRING_API = 'https://api3.loopring.io/api/v3/';
1210
export const apiEndpointByTxType = {

0 commit comments

Comments
 (0)