mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-12-06 19:16:48 +01:00
Return the right variable when rewriting manifests
This should now correctly return the rewritten manifest.
This commit is contained in:
+1
-1
@@ -404,7 +404,7 @@ async fn index(req: HttpRequest) -> Result<HttpResponse, Box<dyn Error>> {
|
||||
let new_url = localize_url(url, host.as_str());
|
||||
new_resp = new_resp.replace(url, new_url.as_str());
|
||||
}
|
||||
return Ok(response.body(resp_str));
|
||||
return Ok(response.body(new_resp));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user