Skip to content

Commit

Permalink
Merge pull request deriv-com#173 from ahmed-deriv/ahmed/fix--prod-env…
Browse files Browse the repository at this point in the history
…-config-modification

handle route mapping
  • Loading branch information
shafin-deriv authored Nov 26, 2024
2 parents c0c6986 + 9d5523d commit 85ddb43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 85ddb43

Please sign in to comment.