Skip to content

Commit

Permalink
Return the right variable when rewriting manifests
Browse files Browse the repository at this point in the history
This should now correctly return the rewritten manifest.
  • Loading branch information
FireMasterK committed Nov 28, 2023
1 parent a2e77d2 commit 75f7c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
}
Expand Down

0 comments on commit 75f7c4e

Please sign in to comment.