Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/kyberswap-interface/.env.production
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions apps/kyberswap-interface/src/services/route/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const routeApi = createApi({
const { chainId, tokenInDecimals, tokenOutDecimals, ...rest } = params
return {
url,
params: rest,
params: { ...rest, index: 'composite' },
authentication,
headers: {
'x-client-id': clientId || 'kyberswap',
Expand Down Expand Up @@ -104,7 +104,7 @@ const routeApi = createApi({
return {
url,
method: 'POST',
body: rest,
body: { ...rest, enableGasEstimation: false },
signal,
authentication,
headers: {
Expand Down
Loading