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