mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-07 23:27:51 +00:00
Rewrite Reddit Links to Libreddit
This commit is contained in:
parent
779de6f8af
commit
4ec529cdb8
6 changed files with 22 additions and 11 deletions
|
@ -59,6 +59,8 @@ async fn main() -> std::io::Result<()> {
|
|||
.route("/u/{username}/", web::get().to(user::profile))
|
||||
.route("/user/{username}/", web::get().to(user::profile))
|
||||
// WIKI SERVICES
|
||||
.route("/wiki/", web::get().to(subreddit::wiki))
|
||||
.route("/wiki/{page}/", web::get().to(subreddit::wiki))
|
||||
.route("/r/{sub}/wiki/", web::get().to(subreddit::wiki))
|
||||
.route("/r/{sub}/wiki/{page}/", web::get().to(subreddit::wiki))
|
||||
// SUBREDDIT SERVICES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue