diff options
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r-- | ui/src/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 8a9aa3c3..c56f6c4e 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -41,7 +41,7 @@ class Index extends Component<any, any> { <Switch> <Route exact path={`/`} component={Main} /> <Route - path={`/home/type/:type/sort/:sort/page/:page`} + path={`/home/data_type/:data_type/listing_type/:listing_type/sort/:sort/page/:page`} component={Main} /> <Route path={`/login`} component={Login} /> @@ -56,7 +56,7 @@ class Index extends Component<any, any> { <Route path={`/post/:id/comment/:comment_id`} component={Post} /> <Route path={`/post/:id`} component={Post} /> <Route - path={`/c/:name/sort/:sort/page/:page`} + path={`/c/:name/data_type/:data_type/sort/:sort/page/:page`} component={Community} /> <Route path={`/community/:id`} component={Community} /> |