This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ import Profile from "../pages/User/Profile";
10
10
export default function Router ( ) : ReactElement {
11
11
return (
12
12
< Switch >
13
- < Route exact path = { "/" } component = { Health } />
14
13
< Route path = { "/login" } component = { Login } />
14
+ < Route exact path = { "/" } >
15
+ < Redirect to = { filesBaseUrl } />
16
+ </ Route >
15
17
< Route path = { "/start" } >
16
18
< Redirect to = { "/" } />
17
19
</ Route >
20
+ < Route path = { "/health" } component = { Health } />
18
21
< Route path = { filesBaseUrl } component = { FileSystem } />
19
- < Route path = { "/health" } >
20
- < Redirect to = { "/" } />
21
- </ Route >
22
22
< Route path = { "/registration" } component = { Registration } />
23
23
{ < Route path = { "/profile" } component = { Profile } /> }
24
24
< Route path = { "*" } component = { Error404 } />
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ function Header(props: PropsFromRedux): ReactElement {
35
35
const history = useHistory ( ) ;
36
36
const navBarElements : navBarElement_Interface [ ] = [
37
37
{
38
- name : "main " ,
39
- text : "Main " ,
40
- link : "/" ,
41
- deviantVisibleLink : "/start " ,
38
+ name : "health " ,
39
+ text : "Health " ,
40
+ link : "/health " ,
41
+ deviantVisibleLink : "/health " ,
42
42
logo : null
43
43
} ,
44
44
{
You can’t perform that action at this time.
0 commit comments