Return the right variable when rewriting manifests

This should now correctly return the rewritten manifest.
This commit is contained in:
Kavin
2023-11-28 18:36:36 +00:00
parent a2e77d2668
commit 75f7c4e8cd
+1 -1
View File
@@ -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));
}
}
}