test(returnres): tryed to make a standard return res but will come back to this later

This commit is contained in:
2025-03-23 10:06:34 -05:00
parent 72d52d9256
commit 58b58424ab
2 changed files with 31 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ import { serveStatic } from "@hono/node-server/serve-static";
import { logger } from "hono/logger";
import { cors } from "hono/cors";
import { createLog } from "./services/logger/logger.js";
import { WebSocketServer } from "ws";
// custom routes
import scalar from "./services/general/route/scalar.js";
import system from "./services/server/systemServer.js";
@@ -149,6 +149,7 @@ process.on("uncaughtException", async (err) => {
process.on("beforeExit", async () => {
console.log("Process is about to exit...");
//await closePool();
process.exit(0);
});
const port =