From 8c2e1bd15b3881a12a3ba9deb8033040a7655a1d Mon Sep 17 00:00:00 2001 From: obvtiger Date: Thu, 7 Aug 2025 08:46:40 +0200 Subject: [PATCH] Update public/trending.js --- public/trending.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/trending.js b/public/trending.js index 93af7a7..76e2374 100644 --- a/public/trending.js +++ b/public/trending.js @@ -404,7 +404,7 @@ document.addEventListener("DOMContentLoaded", () => { let finalChannelId = channelId; if (!channelId.startsWith("UC")) { - const url = `/api/channel/${channelId}`; + const url = `/api/channel/${channelId.replace("/channel/","")}`; console.log(`Resolving channel ID from: ${url}`); const idResponse = await fetch(url);