mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 10:58:12 +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 = [
|
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,
|
||||||
|
|
Loading…
Reference in a new issue