diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index e469c827..6ce2e7d6 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -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 }); };