forked from obvtiger/repiped
Update public/trending.js
This commit is contained in:
parent
738a6a2cce
commit
8c2e1bd15b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue