mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-02 04:37:35 +03:00
clippy fix
This commit is contained in:
parent
526c0d0797
commit
c9e6ffd33c
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ pub async fn find(req: Request<Body>) -> Result<Response<Body>, String> {
|
|||
if query.starts_with("r/") || query.starts_with("user/") {
|
||||
return Ok(redirect(&format!("/{query}")));
|
||||
}
|
||||
|
||||
|
||||
if query.starts_with("R/") {
|
||||
return Ok(redirect(&format!("/r{}", &query[1..])));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue