mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-08-14 23:50:45 +00:00
Return the right variable when rewriting manifests
This should now correctly return the rewritten manifest.
This commit is contained in:
parent
a2e77d2668
commit
75f7c4e8cd
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ async fn index(req: HttpRequest) -> Result<HttpResponse, Box<dyn Error>> {
|
||||||
let new_url = localize_url(url, host.as_str());
|
let new_url = localize_url(url, host.as_str());
|
||||||
new_resp = new_resp.replace(url, new_url.as_str());
|
new_resp = new_resp.replace(url, new_url.as_str());
|
||||||
}
|
}
|
||||||
return Ok(response.body(resp_str));
|
return Ok(response.body(new_resp));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue