From c6f6f07fdf2cd35afde559f0f2c55c4a1794ba71 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Sun, 15 Dec 2024 19:57:15 -0300 Subject: [PATCH] fix typo on urlToRedirect --- src/routes/invidious_routes/latestVersion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);