mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 11:38:12 +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")
|
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,
|
||||||
|
|
Loading…
Reference in a new issue