diff --git a/src/routes/invidious_routes/dashManifest.ts b/src/routes/invidious_routes/dashManifest.ts index 91397f1..86a7583 100644 --- a/src/routes/invidious_routes/dashManifest.ts +++ b/src/routes/invidious_routes/dashManifest.ts @@ -96,7 +96,6 @@ dashManifest.get("/:videoId", async (c) => { if (konfigStore.get("networking.ump") as boolean) { dashUrl = dashUrl + "&ump=1" as unknown as URL; } - console.log(dashUrl) return dashUrl; } else { return dashUrl; diff --git a/src/routes/invidious_routes/latestVersion.ts b/src/routes/invidious_routes/latestVersion.ts index 1ae6470..ea3f400 100644 --- a/src/routes/invidious_routes/latestVersion.ts +++ b/src/routes/invidious_routes/latestVersion.ts @@ -69,10 +69,9 @@ latestVersion.get("/", async (c) => { } else if (selectedItagFormat) { const itagUrl = selectedItagFormat[0].url as string; const itagUrlParsed = new URL(itagUrl); - console.log(itagUrlParsed) let urlToRedirect = itagUrlParsed.toString(); if (local) { - urlToRedirect = konfigStore.get("networking.external_videoplayback_proxy") as string ?? "" + + urlToRedirect = (konfigStore.get("networking.external_videoplayback_proxy") as string ?? "") + itagUrlParsed.pathname + urlToRedirect.search + "&host=" + itagUrlParsed.host; }