diff --git a/src/routes/invidious_routes/latestVersion.ts b/src/routes/invidious_routes/latestVersion.ts index ea3f400..a9aa421 100644 --- a/src/routes/invidious_routes/latestVersion.ts +++ b/src/routes/invidious_routes/latestVersion.ts @@ -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);