feat(tcpserver): added in the intial tcpServer startup

This commit is contained in:
2025-03-06 19:37:07 -06:00
parent 8204ec4a1a
commit 402ce734b3
5 changed files with 212 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import {log} from "./services/logger/logger.js";
import scalar from "./services/general/route/scalar.js";
import system from "./services/server/systemServer.js";
import auth from "./services/auth/authService.js";
import tcpServer from "./services/tcpServer/tcpServer.js";
const allowedOrigins = ["http://localhost:3000", "http://localhost:4000", "http://localhost:5173"];
const app = new OpenAPIHono();
@@ -40,6 +41,7 @@ const routes = [
auth,
// apiHits,
system,
tcpServer,
] as const;
const appRoutes = routes.forEach((route) => {