clippy fix
This commit is contained in:
@ -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..])));
|
||||
}
|
||||
|
Reference in New Issue
Block a user