Skip to content

Commit 0a41770

Browse files
authored
Merge pull request #221 from oasisprotocol/anzoman/add-another-production-url
move: Count rose.prd.oasis.io URL as a production deploy
2 parents bbc36c7 + e065b2a commit 0a41770

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.changelog/221.bugfix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
move: Count rose.prd.oasis.io URL as production deploy

move/src/components/Layout/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function Layout(props: { header: React.ReactNode; children: React.ReactNo
1010
<LayoutBase
1111
header={
1212
<>
13-
{window.location.origin !== 'https://rose.oasis.io' && (
13+
{!['https://rose.oasis.io', 'https://rose.prd.oasis.io'].includes(window.location.origin) && (
1414
<div className="warningNotification" style={{ margin: '0 auto' }}>
1515
<img src={symbol_warning_svg} alt="Warning" width="24" />
1616
<p>Please note this is not production deploy.</p>

0 commit comments

Comments
 (0)