Skip to content

Commit

Permalink
Fix stable deploys array
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Mar 27, 2024
1 parent a8eb332 commit 1c3fd83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/1346.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix stable deploys array
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c3fd83

Please sign in to comment.