From 1c3fd83d96e2259f6f31108180fe16565d370f9d Mon Sep 17 00:00:00 2001 From: Michal Zielenkiewicz Date: Wed, 27 Mar 2024 15:04:05 +0100 Subject: [PATCH] Fix stable deploys array --- .changelog/1346.bugfix.md | 1 + src/config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .changelog/1346.bugfix.md diff --git a/.changelog/1346.bugfix.md b/.changelog/1346.bugfix.md new file mode 100644 index 000000000..43dd15a45 --- /dev/null +++ b/.changelog/1346.bugfix.md @@ -0,0 +1 @@ +Fix stable deploys array diff --git a/src/config.ts b/src/config.ts index 14307ed6b..f162db4f3 100644 --- a/src/config.ts +++ b/src/config.ts @@ -172,7 +172,7 @@ export const deploys = { localhost: 'http://localhost:1234', } -const stableDeploys = [...deploys.production, deploys.staging] +const stableDeploys = [...deploys.production, ...deploys.staging] export const isStableDeploy = stableDeploys.some(url => window.location.origin === url) export const getAppTitle = () => process.env.REACT_APP_META_TITLE