diff options
author | Dessalines <tyhou13@gmx.com> | 2019-12-11 21:28:33 -0800 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-12-11 21:28:33 -0800 |
commit | 665dca80d00c3947a4838bbd468cfdcb9241ace5 (patch) | |
tree | d5cb8ac97b2ff27dbbfe72f2d7eaec4f797fe2a1 /ui/src/index.tsx | |
parent | 4cbfe6d0fc49fcaeaf95d1993ebe6b16fa49b1a3 (diff) |
Moving front end routes from nginx to actix
- Fixes #363
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r-- | ui/src/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 2e50db88..41404f4b 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -38,11 +38,11 @@ class Index extends Component<any, any> { <Navbar /> <div class="mt-4 p-0"> <Switch> + <Route exact path={`/`} component={Main} /> <Route path={`/home/type/:type/sort/:sort/page/:page`} component={Main} /> - <Route exact path={`/`} component={Main} /> <Route path={`/login`} component={Login} /> <Route path={`/create_post`} component={CreatePost} /> <Route path={`/create_community`} component={CreateCommunity} /> |