add banner

This commit is contained in:
ashley 2024-09-21 16:00:23 +00:00
parent e9c9cac4fd
commit 48c00ce59f

View file

@ -190,7 +190,7 @@ module.exports = function (app, config, renderTemplate) {
const secure = [ const secure = [
"poketube.fun", "poketube.fun",
"localhost" // Testing purposes "localhost" //
].includes(req.hostname); ].includes(req.hostname);
const verify = [ const verify = [
"poketube.fun", "poketube.fun",
@ -206,6 +206,7 @@ module.exports = function (app, config, renderTemplate) {
return renderTemplate(res, req, "landing.ejs", { return renderTemplate(res, req, "landing.ejs", {
secure, secure,
embedtype:req.query.embedtype, embedtype:req.query.embedtype,
banner:config.banner,
DisablePokeChan:req.query.DisablePokeChan, DisablePokeChan:req.query.DisablePokeChan,
verify, verify,
isOldWindows, isOldWindows,