mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 22:17:58 +01:00
add splash!!
This commit is contained in:
parent
16f8c430a0
commit
44183892bf
1 changed files with 16 additions and 0 deletions
|
@ -23,6 +23,21 @@ var ping = require("ping");
|
|||
|
||||
const sha384 = modules.hash;
|
||||
|
||||
|
||||
const splash = [
|
||||
"Woke!",
|
||||
"Gay gay homosexaul gay!",
|
||||
"free palistine!",
|
||||
"free software!",
|
||||
"frick capitalism!",
|
||||
"still calling it twitter btw!",
|
||||
"boop!"
|
||||
]
|
||||
|
||||
const random =
|
||||
splash[Math.floor(Math.random() * splash.length)];
|
||||
|
||||
|
||||
function getJson(str) {
|
||||
try {
|
||||
return JSON.parse(str);
|
||||
|
@ -85,6 +100,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
|
||||
return renderTemplate(res, req, "landing.ejs", {
|
||||
isOldWindows,
|
||||
splash
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue