fix: debug string

This commit is contained in:
Matthew Esposito 2025-02-13 21:42:09 -05:00
parent bb20190555
commit c9dbd7a3cc

View file

@ -143,7 +143,6 @@ pub async fn community(req: Request<Body>) -> Result<Response<Body>, String> {
}
let path = format!("/r/{}/{sort}.json?{}{params}", sub_name.replace('+', "%2B"), req.uri().query().unwrap_or_default());
debug!("Path: {}", path);
let url = String::from(req.uri().path_and_query().map_or("", |val| val.as_str()));
let redirect_url = url[1..].replace('?', "%3F").replace('&', "%26").replace('+', "%2B");
let filters = get_filters(&req);