mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-07 06:57:39 +03:00
Expand truncated numbers on mouseover. Close #156
This commit is contained in:
parent
ab886d1e67
commit
966e0ce921
10 changed files with 26 additions and 70 deletions
|
@ -206,7 +206,7 @@ async fn main() {
|
|||
app.at("/").get(|r| subreddit::community(r).boxed());
|
||||
|
||||
// View Reddit wiki
|
||||
app.at("/w").get(|_| async move { Ok(redirect("/wiki".to_string())) }.boxed());
|
||||
app.at("/w").get(|_| async { Ok(redirect("/wiki".to_string())) }.boxed());
|
||||
app
|
||||
.at("/w/:page")
|
||||
.get(|r| async move { Ok(redirect(format!("/wiki/{}", r.param("page").unwrap_or_default()))) }.boxed());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue