diff options
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r-- | ui/src/index.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 4b3cd611..446705f1 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -48,8 +48,9 @@ class Index extends Component<any, any> { <Route path={`/post/:id/comment/:comment_id`} component={Post} /> <Route path={`/post/:id`} component={Post} /> <Route path={`/community/:id`} component={Community} /> - <Route path={`/user/:id/:heading`} component={User} /> + <Route path={`/f/:name`} component={Community} /> <Route path={`/user/:id`} component={User} /> + <Route path={`/u/:username`} component={User} /> <Route path={`/inbox`} component={Inbox} /> <Route path={`/modlog/community/:community_id`} component={Modlog} /> <Route path={`/modlog`} component={Modlog} /> |