fix typo on urlToRedirect
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 51s

This commit is contained in:
Fijxu 2024-12-15 19:57:15 -03:00
parent 3430c98de1
commit c6f6f07fdf
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -72,7 +72,7 @@ latestVersion.get("/", async (c) => {
let urlToRedirect = itagUrlParsed.toString();
if (local) {
urlToRedirect = (konfigStore.get("networking.external_videoplayback_proxy") as string ?? "") +
itagUrlParsed.pathname + urlToRedirect.search +
itagUrlParsed.pathname + itagUrlParsed.search +
"&host=" + itagUrlParsed.host;
}
return c.redirect(urlToRedirect);