Skip to content

Commit

Permalink
Merge pull request #135 from kbase/DEVOPS-1412-next
Browse files Browse the repository at this point in the history
DEVOPSs1412 :  Europa on Next
  • Loading branch information
jsfillman authored Dec 20, 2023
2 parents de7f4f7 + 5f77420 commit 51b5db4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
"public_url": "/"
},

"next": {
"domain": "next.kbase.us",
"legacy": "legacy.next.kbase.us",
"public_url": "/"
},

"production": {
"domain": "narrative.kbase.us",
"legacy": "legacy.narrative.kbase.us",
Expand Down
2 changes: 2 additions & 0 deletions src/features/layout/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,15 @@ const Enviroment: FC = () => {
ci: faFlask,
'ci-europa': faFlask,
'narrative-dev': faWrench,
next: faWrench,
unknown: faQuestionCircle,
}[env];
const txt = {
appdev: 'APPDEV',
ci: 'CI',
'ci-europa': 'EUR',
'narrative-dev': 'NARDEV',
next: 'NEXT',
unknown: 'ENV?',
}[env];
return (
Expand Down
7 changes: 4 additions & 3 deletions src/features/layout/layoutSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ import { useEffect } from 'react';
import { useAppDispatch } from '../../common/hooks';

const environments = [
'unknown',
'production',
'ci',
'appdev',
'ci',
'ci-europa',
'narrative-dev',
'next',
'production',
'unknown',
] as const;

interface PageState {
Expand Down

0 comments on commit 51b5db4

Please sign in to comment.