diff --git a/.github/workflows/manual-deploy-ten-bridge.yml b/.github/workflows/manual-deploy-ten-bridge.yml index 320adcfac5..a6ab57c4b2 100644 --- a/.github/workflows/manual-deploy-ten-bridge.yml +++ b/.github/workflows/manual-deploy-ten-bridge.yml @@ -58,7 +58,7 @@ jobs: name: ${{ github.event.inputs.testnet_type }}-fe-ten-bridge location: "uksouth" restart-policy: "Never" - environment-variables: NEXT_PUBLIC_BRIDGE_API_HOST=https://${{ github.event.inputs.testnet_type }}-api.tenscan.io NEXT_PUBLIC_FE_VERSION=${{ GITHUB.RUN_NUMBER }}-${{ GITHUB.SHA }} + environment-variables: NEXT_PUBLIC_BRIDGE_API_HOST_ENVIRONMENT=${{ github.event.inputs.testnet_type }} NEXT_PUBLIC_FE_VERSION=${{ GITHUB.RUN_NUMBER }}-${{ GITHUB.SHA }} command-line: npm run start-prod ports: "80" cpu: 2 diff --git a/contracts/src/bridge/frontend/src/lib/constants.ts b/contracts/src/bridge/frontend/src/lib/constants.ts index 7fe63363f6..5d7751a4fa 100644 --- a/contracts/src/bridge/frontend/src/lib/constants.ts +++ b/contracts/src/bridge/frontend/src/lib/constants.ts @@ -1,6 +1,6 @@ export const environment = process.env.NEXT_PUBLIC_BRIDGE_API_HOST_ENVIRONMENT; -export const apiHost = `https://${environment}-testnet-api.tenscan.io`; +export const apiHost = `https://${environment}-api.tenscan.io`; export const socialLinks = { github: "https://github.com/ten-protocol", diff --git a/contracts/src/bridge/frontend/src/routes/index.ts b/contracts/src/bridge/frontend/src/routes/index.ts index 1183d1fdf4..cfe88c27a5 100644 --- a/contracts/src/bridge/frontend/src/routes/index.ts +++ b/contracts/src/bridge/frontend/src/routes/index.ts @@ -20,7 +20,7 @@ export const NavLinks: NavLink[] = [ export const apiRoutes = { getHealthStatus: `/info/health/`, - getObscuroConfig: `http://erpc.${environment}-testnet.obscu.ro:80/`, + getObscuroConfig: `http://erpc.${environment}.obscu.ro:80/`, }; export const requestMethods = {