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