Merge pull request #38 from Instadapp/internal_redirect

This commit is contained in:
Georges KABBOUCHI 2022-03-19 14:04:28 +02:00 committed by GitHub
commit 0c456bd382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,9 +51,9 @@ export function useBalances() {
const { by } = useSorting(); const { by } = useSorting();
onMounted(async () => { onMounted(async () => {
prices.mainnet = await $axios.$get("https://api.instadapp.io/defi/prices"); prices.mainnet = await $axios.$get("https://api.internal.instadapp.io/defi/mainnet/prices");
prices.polygon = await $axios.$get( prices.polygon = await $axios.$get(
"https://api.instadapp.io/defi/polygon/prices" "https://api.internal.instadapp.io/defi/polygon/prices"
); );
prices.arbitrum = await $axios.$get( prices.arbitrum = await $axios.$get(
"https://api.instadapp.io/defi/arbitrum/prices" "https://api.instadapp.io/defi/arbitrum/prices"