Sidebar about page. Closes #162

This commit is contained in:
spikecodes 2021-03-21 19:28:05 -07:00
parent 0bb1677520
commit 772d20615b
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
3 changed files with 22 additions and 1 deletions

View file

@ -209,6 +209,8 @@ async fn main() {
app.at("/r/:sub/wiki").get(|r| subreddit::wiki(r).boxed());
app.at("/r/:sub/wiki/:page").get(|r| subreddit::wiki(r).boxed());
app.at("/r/:sub/about/sidebar").get(|r| subreddit::sidebar(r).boxed());
app.at("/r/:sub/:sort").get(|r| subreddit::community(r).boxed());
// Comments handler