From 95e1fc52394186ecf73aec6694b8932bd9fa0ee4 Mon Sep 17 00:00:00 2001 From: Anxo Rodriguez Date: Wed, 27 Nov 2024 12:44:13 +0000 Subject: [PATCH] chore: use prod --- apps/cowswap-frontend/src/cowSdk.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/cowswap-frontend/src/cowSdk.ts b/apps/cowswap-frontend/src/cowSdk.ts index 8fe22917e6..e050d6c7b2 100644 --- a/apps/cowswap-frontend/src/cowSdk.ts +++ b/apps/cowswap-frontend/src/cowSdk.ts @@ -1,5 +1,4 @@ import { MetadataApi } from '@cowprotocol/app-data' -import { isBarnBackendEnv } from '@cowprotocol/common-utils' import { OrderBookApi } from '@cowprotocol/cow-sdk' const prodBaseUrls = process.env.REACT_APP_ORDER_BOOK_URLS @@ -8,6 +7,5 @@ const prodBaseUrls = process.env.REACT_APP_ORDER_BOOK_URLS export const metadataApiSDK = new MetadataApi() export const orderBookApi = new OrderBookApi({ - env: isBarnBackendEnv ? 'staging' : 'prod', - ...(prodBaseUrls ? { baseUrls: prodBaseUrls } : undefined), + env: 'prod', })