mirror of
https://github.com/redlib-org/redlib.git
synced 2024-12-06 19:27:17 +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