Начало работы над BookUpdateChecker

This commit is contained in:
Book Pauk
2022-07-16 13:16:57 +07:00
parent 97fc902cdb
commit 5ccfe71c55
9 changed files with 150 additions and 2 deletions

View File

@@ -3,6 +3,12 @@ const utils = require('./core/utils');
const multer = require('multer');
function initRoutes(app, wss, config) {
//эксклюзив для update_checker
if (config.mode === 'book_update_checker') {
new c.BookUpdateCheckerController(wss, config);
return;
}
const misc = new c.MiscController(config);
const reader = new c.ReaderController(config);
const worker = new c.WorkerController(config);