mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-04 20:30:37 +00:00
More Replies Button
This commit is contained in:
parent
4b7cbb3de2
commit
11cfbdc3ed
11 changed files with 40 additions and 21 deletions
|
@ -60,6 +60,7 @@ async fn main() -> std::io::Result<()> {
|
|||
// POST SERVICES
|
||||
.route("/{id:.{5,6}}/", web::get().to(post::short))
|
||||
.route("/r/{sub}/comments/{id}/{title}/", web::get().to(post::page))
|
||||
.route("/r/{sub}/comments/{id}/{title}/{comment_id}/", web::get().to(post::comment))
|
||||
})
|
||||
.bind(address.clone())
|
||||
.expect(format!("Cannot bind to the address: {}", address).as_str())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue