add new shorts ui!!

This commit is contained in:
Ashley 2023-12-07 19:52:19 +00:00
parent c3167f674c
commit 8896bed1f5

View file

@ -258,6 +258,7 @@ module.exports = function (app, config, renderTemplate) {
if (uaos === "Windows XP" || uaos === "Windows Vista") if (uaos === "Windows XP" || uaos === "Windows Vista")
res.redirect("/lite?v=" + req.query.v); res.redirect("/lite?v=" + req.query.v);
if (req.query.from === "short") var shortsui = true
try { try {
renderTemplate(res, req, "poketube.ejs", { renderTemplate(res, req, "poketube.ejs", {
@ -268,6 +269,7 @@ module.exports = function (app, config, renderTemplate) {
IsOldWindows, IsOldWindows,
channelurlfixer, channelurlfixer,
support, support,
shortsui,
u: vidurl, u: vidurl,
isvidious: u.isInvidiousURL, isvidious: u.isInvidiousURL,
video: json, video: json,