mirror of
https://codeberg.org/ashley/poke
synced 2025-04-06 09:38:00 +00:00
add banner
This commit is contained in:
parent
e9c9cac4fd
commit
48c00ce59f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user