Skip to content

Commit afacfe0

Browse files
committed
chore: revert bridge API base url override support
1 parent 7ccf48d commit afacfe0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

shared/constants/bridge.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,9 @@ export type AllowedBridgeChainIds =
6767
| (typeof ALLOWED_BRIDGE_CHAIN_IDS)[number]
6868
| (typeof ALLOWED_BRIDGE_CHAIN_IDS_IN_CAIP)[number];
6969

70-
export const BRIDGE_API_BASE_URL =
71-
process.env.BRIDGE_API_BASE_URL ??
72-
(process.env.BRIDGE_USE_DEV_APIS
73-
? BRIDGE_DEV_API_BASE_URL
74-
: BRIDGE_PROD_API_BASE_URL);
70+
export const BRIDGE_API_BASE_URL = process.env.BRIDGE_USE_DEV_APIS
71+
? BRIDGE_DEV_API_BASE_URL
72+
: BRIDGE_PROD_API_BASE_URL;
7573

7674
export const BRIDGE_CHAIN_ID_TO_NETWORK_IMAGE_MAP: Record<
7775
(typeof ALLOWED_BRIDGE_CHAIN_IDS_IN_CAIP)[number],

0 commit comments

Comments
 (0)