From 75f7c4e8cdde07e6b40008b76cc241662181d643 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Tue, 28 Nov 2023 18:36:36 +0000 Subject: [PATCH] Return the right variable when rewriting manifests This should now correctly return the rewritten manifest. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b4ab30f..ea1420d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -404,7 +404,7 @@ async fn index(req: HttpRequest) -> Result> { 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)); } } }