mirror of
https://codeberg.org/ashley/poke
synced 2026-04-09 10:27:58 +00:00
add new shorts ui!!
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user