mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 07:58:28 +01:00
add new shorts ui!!
This commit is contained in:
parent
c3167f674c
commit
8896bed1f5
1 changed files with 2 additions and 0 deletions
|
@ -258,6 +258,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
if (uaos === "Windows XP" || uaos === "Windows Vista")
|
||||
res.redirect("/lite?v=" + req.query.v);
|
||||
|
||||
if (req.query.from === "short") var shortsui = true
|
||||
|
||||
try {
|
||||
renderTemplate(res, req, "poketube.ejs", {
|
||||
|
@ -268,6 +269,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
IsOldWindows,
|
||||
channelurlfixer,
|
||||
support,
|
||||
shortsui,
|
||||
u: vidurl,
|
||||
isvidious: u.isInvidiousURL,
|
||||
video: json,
|
||||
|
|
Loading…
Reference in a new issue