Skip to content

Commit

Permalink
Merge pull request #1346 from oasisprotocol/mz/fixStableDeploys
Browse files Browse the repository at this point in the history
Fix stable deploys array
  • Loading branch information
buberdds authored Mar 27, 2024
2 parents a8eb332 + 1c3fd83 commit 1025509
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 1025509

Please sign in to comment.