diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-25 14:52:18 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-25 14:52:18 -0700 |
commit | e4532aa1cb19decb5f57fca13ca20aae3e1e0a1e (patch) | |
tree | 8e053b3843acddfa3c36b593e3239d0fd6e38e73 /ui/src/index.tsx | |
parent | fdc5a23f2ac2d166a11fe2eb0670c97a16122835 (diff) |
Adding /f/ and /u/ in links now.
- Fixes #102
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} /> |