From 45dcdc741aae76a07aec94556f95fe4c3421a72c Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 13 Nov 2022 11:06:29 +0100 Subject: [PATCH] qwq --- src/libpoketube/init/superinit.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libpoketube/init/superinit.js b/src/libpoketube/init/superinit.js index 275d4fbe..1f9fcd90 100644 --- a/src/libpoketube/init/superinit.js +++ b/src/libpoketube/init/superinit.js @@ -5,7 +5,7 @@ function initlog(args) { function init(app, config, rendertemplate) { initlog("Starting superinit"); initlog("[START] Load pages"); - if ( Math.random() < 0.5 ){ + if (Math.random() < 0.5) { initlog("https://poketube.fun/watch?v=lpiB2wMc49g"); } @@ -26,6 +26,10 @@ function init(app, config, rendertemplate) { ); 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"); require("../init/pages-static.js")(app, config, rendertemplate); initlog("loaded static pages");