revert 93f7de7352
(breaking profile images)
revert Update routes/trending.js
This commit is contained in:
parent
93f7de7352
commit
295e0da2b4
1 changed files with 0 additions and 4 deletions
|
@ -26,10 +26,6 @@ function trendingRouteHandler(app) {
|
||||||
const videoId = item.url.replace("/watch?v=", "");
|
const videoId = item.url.replace("/watch?v=", "");
|
||||||
item.thumbnail = `/api/thumbnail/${videoId}`;
|
item.thumbnail = `/api/thumbnail/${videoId}`;
|
||||||
}
|
}
|
||||||
if (item.uploaderUrl && item.uploaderUrl.startsWith("/channel/")) {
|
|
||||||
const uploaderUrl = item.uploaderUrl.replace("/channel/", "");
|
|
||||||
item.uploaderUrl = uploaderUrl;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
cachedData = jsonData;
|
cachedData = jsonData;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue