mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-14 22:12:58 +00:00
Fix #144
This commit is contained in:
parent
c0d1519341
commit
10873dd0c6
2 changed files with 20 additions and 17 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue