1
Fork 0

add the initpoketube function :3

This commit is contained in:
Ashley 2023-04-19 22:06:13 +00:00
parent 621e098183
commit 910250047b

View file

@ -80,6 +80,13 @@
"monke", "monke",
]; ];
const initPokeTube = function() {
sinit(app, config, renderTemplate);
initlog("inited super init")
init(app);
initlog("inited app")
}
try { try {
app.use(function (req, res, next) { app.use(function (req, res, next) {
res.header("Access-Control-Allow-Origin", "*"); res.header("Access-Control-Allow-Origin", "*");
@ -136,7 +143,5 @@
initlog("[FAILED] load robots.txt") initlog("[FAILED] load robots.txt")
} }
sinit(app, config, renderTemplate); initPokeTube()
init(app);
})(); })();