This commit is contained in:
Ashley 2022-11-13 11:06:29 +01:00
parent fa6c5335dc
commit 45dcdc741a

View file

@ -5,7 +5,7 @@ function initlog(args) {
function init(app, config, rendertemplate) { function init(app, config, rendertemplate) {
initlog("Starting superinit"); initlog("Starting superinit");
initlog("[START] Load pages"); initlog("[START] Load pages");
if ( Math.random() < 0.5 ){ if (Math.random() < 0.5) {
initlog("https://poketube.fun/watch?v=lpiB2wMc49g"); initlog("https://poketube.fun/watch?v=lpiB2wMc49g");
} }
@ -26,6 +26,10 @@ function init(app, config, rendertemplate) {
); );
initlog("Loaded Download and channel pages"); initlog("Loaded Download and channel pages");
initlog("Loading api pages");
require("../init/pages-api.js")(app, config, rendertemplate);
initlog("loaded api pages");
initlog("Loading static pages"); initlog("Loading static pages");
require("../init/pages-static.js")(app, config, rendertemplate); require("../init/pages-static.js")(app, config, rendertemplate);
initlog("loaded static pages"); initlog("loaded static pages");