This commit is contained in:
spikecodes 2021-03-05 06:24:40 -08:00
parent c0d1519341
commit 10873dd0c6
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
2 changed files with 20 additions and 17 deletions

View file

@ -226,6 +226,9 @@ async fn main() -> tide::Result<()> {
app.at("/r/:sub/:sort/").get(subreddit::page);
// Comments handler
app.at("/comments/:id/").get(post::item);
// Front page
app.at("/").get(subreddit::page);