diff --git a/apps/dapp/src/constants/constants.ts b/apps/dapp/src/constants/constants.ts index 3ab664f..4162867 100644 --- a/apps/dapp/src/constants/constants.ts +++ b/apps/dapp/src/constants/constants.ts @@ -3,7 +3,6 @@ const baseURL = 'https://raw.githubusercontent.com/paltalabs/defindex/refs/heads const suffix = '.contracts.json' export const configFile = async (network:string)=>{ if(network != 'testnet' && network != 'mainnet' && network!= 'standalone') throw new Error(`Invalid network: ${network}. It should be testnet, mainnet or standalone`) - if(network === 'standalone') return require(`../../../contracts/.soroban/${network}.contracts.json`) const url = baseURL + network + suffix const data = await axios.get(url) if(data.status === 200) return data.data