Add route, Update workflow
All checks were successful
CI for GGS-CRON / build-docker (push) Successful in 1m20s
CI for GGS-CRON / build-and-test (push) Successful in 3m14s

This commit is contained in:
Ittipat Lusuk 2025-08-07 14:54:19 +07:00
parent f1b14ac7ea
commit 296c006fd9
4 changed files with 96 additions and 26 deletions

4
app.js
View file

@ -6,6 +6,7 @@ var cookieParser = require("cookie-parser");
var indexRouter = require("./routes/index");
var usersRouter = require("./routes/users");
var healthRouter = require("./routes/health")
// const { createLogger, format, transports } = require('winston');
const {
@ -39,6 +40,7 @@ app
app.use("/", indexRouter);
app.use("/users", usersRouter);
app.use("/health", healthRouter);
Log.debug(`running on port ${process.env.PORT}`);
@ -86,7 +88,7 @@ GoogleFunctions.syncProfilePrice(sheet, "tha", false);
//
// Test Taobin SyncText
SyncText.run(sheet, "uae", false);
// SyncText.run(sheet, "uae", false);
const pm = new PluginsManager(cronTasks, CronJobs);
pm.load();