Skip to content

Commit

Permalink
Re-instate the DEV or UAT badge in application header after change in…
Browse files Browse the repository at this point in the history
… subdoamin names (#1515)
  • Loading branch information
entrotech authored Nov 16, 2023
1 parent 5a8c3a9 commit bae9631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/helpers/Environment.js
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit bae9631

Please sign in to comment.