cursorpro commited on
Commit
260b943
Β·
verified Β·
1 Parent(s): 0cec008

Update src/routes/invidious_routes/videos.ts

Browse files
src/routes/invidious_routes/videos.ts CHANGED
@@ -546,7 +546,7 @@ videos.get("/:videoId", async (c) => {
546
  : [];
547
 
548
  // ── DASH manifest URL ──────────────────────────────────────────────────
549
- const dashUrl = `${new URL(c.req.url).origin}/api/manifest/dash/id/${videoId}`;
550
 
551
  // ── Genre / family safe ────────────────────────────────────────────────
552
  const genre: string = microformat.category ?? "";
 
546
  : [];
547
 
548
  // ── DASH manifest URL ──────────────────────────────────────────────────
549
+ const dashUrl = `/api/manifest/dash/id/${videoId}`;
550
 
551
  // ── Genre / family safe ────────────────────────────────────────────────
552
  const genre: string = microformat.category ?? "";