mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 17:37:51 +01:00
add banner
This commit is contained in:
parent
e9c9cac4fd
commit
48c00ce59f
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue