Skip to content

Commit bc10f02

Browse files
authored
Merge pull request #482 from isaaccomputerscience/chore/isStaging-stack-alb-test-host
Treat isaac-stack-alb-test host as staging (isStaging)
2 parents 20272fe + 776ba4f commit bc10f02

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/services/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ if (document.location.hostname === "localhost") {
4747
export const isStaging =
4848
document.location.hostname.startsWith("staging.") ||
4949
document.location.hostname.startsWith("www.staging.") ||
50-
document.location.hostname === "isaac-fe-alb-test.development.isaaccomputerscience.org";
50+
document.location.hostname === "isaac-fe-alb-test.development.isaaccomputerscience.org" ||
51+
document.location.hostname === "isaac-stack-alb-test.development.isaaccomputerscience.org";
5152

5253
export const envSpecific = <L, S, D>(live: L, staging: S, dev: D) =>
5354
isStaging ? staging : process.env.NODE_ENV === "production" ? live : dev;

0 commit comments

Comments
 (0)