add splash!!

This commit is contained in:
Ashley 2023-11-23 06:24:55 +00:00
parent 16f8c430a0
commit 44183892bf

View file

@ -23,6 +23,21 @@ var ping = require("ping");
const sha384 = modules.hash; 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) { function getJson(str) {
try { try {
return JSON.parse(str); return JSON.parse(str);
@ -85,6 +100,7 @@ module.exports = function (app, config, renderTemplate) {
return renderTemplate(res, req, "landing.ejs", { return renderTemplate(res, req, "landing.ejs", {
isOldWindows, isOldWindows,
splash
}); });
}; };