From 48c00ce59f0228d2ee982aeec8588c23c187d7d4 Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 21 Sep 2024 16:00:23 +0000 Subject: [PATCH] add banner --- src/libpoketube/init/pages-404-and-main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index 69e74880..5d162e83 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -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,