mirror of
https://github.com/spikecodes/libreddit.git
synced 2026-01-21 12:12:36 +01:00
Fix #144
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user