Skip to content

Commit 1acc2a5

Browse files
committed
chore: revert swap URL env override changes
1 parent afacfe0 commit 1acc2a5

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

builds.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,7 @@ env:
207207
- ENABLE_SENTRY: true
208208
- ACCOUNTS_USE_DEV_APIS: false
209209
- BRIDGE_USE_DEV_APIS: false
210-
- BRIDGE_API_BASE_URL: null
211210
- SWAPS_USE_DEV_APIS: false
212-
- SWAPS_API_BASE_URL: null
213-
- SWAPS_DEV_API_BASE_URL: null
214211
- PORTFOLIO_URL: https://app.metamask.io
215212
- TOKEN_ALLOWANCE_IMPROVEMENTS: false
216213
- TRANSACTION_SECURITY_PROVIDER: false

shared/constants/swaps.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,8 @@ export const WETH_MEGAETH_CONTRACT_ADDRESS =
222222

223223
const SWAPS_TESTNET_CHAIN_ID = '0x539';
224224

225-
export const SWAPS_API_V2_BASE_URL =
226-
process.env.SWAPS_API_BASE_URL ?? 'https://bridge.api.cx.metamask.io';
225+
export const SWAPS_API_V2_BASE_URL = 'https://bridge.api.cx.metamask.io';
227226
export const SWAPS_DEV_API_V2_BASE_URL =
228-
process.env.SWAPS_DEV_API_BASE_URL ??
229227
'https://bridge.dev-api.cx.metamask.io';
230228
export const TOKEN_API_BASE_URL = 'https://tokens.api.cx.metamask.io';
231229
export const GAS_API_BASE_URL = 'https://gas.api.cx.metamask.io';

0 commit comments

Comments
 (0)