diff --git a/apps/kyberswap-interface/.env.production b/apps/kyberswap-interface/.env.production index e853291129..bbc48ab4d2 100644 --- a/apps/kyberswap-interface/.env.production +++ b/apps/kyberswap-interface/.env.production @@ -1,4 +1,5 @@ -VITE_AGGREGATOR_API=https://aggregator-api.kyberswap.com +# VITE_AGGREGATOR_API=https://aggregator-api.kyberswap.com +VITE_AGGREGATOR_API=https://pre-router-api.kyberengineering.io VITE_AGGREGATOR_STATS_API=https://aggregator-stats.kyberswap.com VITE_SENTRY_DNS=https://264bd123c207e0c1c1edf63fdbdd86c1@sentry.ops.kyberengineering.io/3 VITE_SERVICE_WORKER=false @@ -43,7 +44,7 @@ VITE_WALLETCONNECT_PROJECT_ID=b5b37945209ea323811f1032e84eaeb5 VITE_CAMPAIGN_URL=https://arbitrum-stip.kyberswap.com/api VITE_REFERRAL_URL=https://referral.kyberswap.com/api -VITE_TOKEN_API_URL=https://token-api.kyberswap.com/api +VITE_TOKEN_API_URL=https://pre-token-api.kyberengineering.io/api VITE_ZAP_EARN_URL=https://earn-service.kyberswap.com/api VITE_AFFILIATE_SERVICE=https://affiliate-service.kyberswap.com/api diff --git a/apps/kyberswap-interface/src/services/route/index.ts b/apps/kyberswap-interface/src/services/route/index.ts index d3f5a82ee0..9777487e9f 100644 --- a/apps/kyberswap-interface/src/services/route/index.ts +++ b/apps/kyberswap-interface/src/services/route/index.ts @@ -30,7 +30,7 @@ const routeApi = createApi({ const { chainId, tokenInDecimals, tokenOutDecimals, ...rest } = params return { url, - params: rest, + params: { ...rest, index: 'correlated' }, authentication, headers: { 'x-client-id': clientId || 'kyberswap',