diff --git a/src/search.rs b/src/search.rs index 1b5d1a9..88dcfdd 100644 --- a/src/search.rs +++ b/src/search.rs @@ -74,7 +74,7 @@ pub async fn find(req: Request) -> Result, 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..]))); }