From 5c934c77443af1c51adadfb8259a723da037062b Mon Sep 17 00:00:00 2001 From: Tien Nguyen Date: Mon, 29 Dec 2025 14:42:46 +0700 Subject: [PATCH 1/3] test: agg correlated prod --- apps/kyberswap-interface/src/services/route/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', From a0d8276cc3190eb64e7628b4f0cf9448860da6f2 Mon Sep 17 00:00:00 2001 From: Kane Date: Wed, 21 Jan 2026 15:22:38 +0700 Subject: [PATCH 2/3] Change aggregator API endpoint in production env Updated VITE_AGGREGATOR_API to use pre-router API. Signed-off-by: Kane --- apps/kyberswap-interface/.env.production | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/kyberswap-interface/.env.production b/apps/kyberswap-interface/.env.production index c2d1b73996..2d8532324b 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 From f4d5eb4db02b18a5abdfa74c0a43119303d10d4a Mon Sep 17 00:00:00 2001 From: Tien Nguyen Date: Fri, 23 Jan 2026 17:09:38 +0700 Subject: [PATCH 3/3] fix --- apps/kyberswap-interface/.env.production | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/kyberswap-interface/.env.production b/apps/kyberswap-interface/.env.production index 77d1b741c6..62f9b42cf4 100644 --- a/apps/kyberswap-interface/.env.production +++ b/apps/kyberswap-interface/.env.production @@ -42,7 +42,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_ZAP_EARN_URL=https://pre-zap-earn-service.kyberengineering.io/api