fix typo on urlToRedirect
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 51s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 51s
This commit is contained in:
parent
3430c98de1
commit
c6f6f07fdf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue