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
No known key found for this signature in database
GPG Key ID: 6E4598CA5C92C41F
1 changed files with 1 additions and 1 deletions

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));
}
}
}