From 9d5523d644a0888892baa7083e246c280ef7f8ab Mon Sep 17 00:00:00 2001 From: muhammad-ahmed Date: Tue, 26 Nov 2024 17:03:22 +0800 Subject: [PATCH] handle route mapping --- src/utils/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index f42e566f..827bb4dc 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -89,11 +89,11 @@ export const getAppId = () => { if (isHost('localhost')) return LOCALHOST_APP_ID; if (isHost('staging-api.deriv.com')) return STAGING_APP_ID; if (isHost('deriv-api-docs.binary.sx')) return VERCEL_DEPLOYMENT_APP_ID; + if (isHost('staging-api.deriv.me')) return STAGING_ME_APP_ID; + if (isHost('staging-api.deriv.be')) return STAGING_BE_APP_ID; if (isHost('api.deriv.com')) return PRODUCTION_APP_ID; if (isHost('api.deriv.me')) return PRODUCTION_ME_APP_ID; if (isHost('api.deriv.be')) return PRODUCTION_BE_APP_ID; - if (isHost('staging-api.deriv.me')) return STAGING_ME_APP_ID; - if (isHost('staging-api.deriv.be')) return STAGING_BE_APP_ID; return PRODUCTION_APP_ID; };