diff --git a/client/src/helpers/Environment.js b/client/src/helpers/Environment.js index 384d9967..79f1254d 100644 --- a/client/src/helpers/Environment.js +++ b/client/src/helpers/Environment.js @@ -1,7 +1,7 @@ export const Environment = process.env.NODE_ENV === "development" || - window.location.hostname.toLowerCase().includes("tdmdev") + window.location.hostname.toLowerCase().includes("tdm-dev") ? process.env.REACT_APP_ENV || "DEV" - : window.location.hostname.toLowerCase().includes("tdmuat") + : window.location.hostname.toLowerCase().includes("tdm-uat") ? "UAT" : "PROD";