This commit is contained in:
AdisakKanthawilang 2025-03-06 15:04:13 +07:00
parent 42cb907cfc
commit 4de905972c
3 changed files with 7 additions and 7 deletions

View file

@ -13,9 +13,11 @@ import { OrganizationController } from "./controllers/OrganizationController";
import logMiddleware from "./middlewares/logs";
import { CommandController } from "./controllers/CommandController";
import { ProfileSalaryController } from "./controllers/ProfileSalaryController";
import { WebSocketServer } from "ws";
import http from "http";
import { wss } from "../src/services/webSocket";
export const wss = new WebSocketServer({ noServer: true,
path: "/api/v1/org/socket",
});
async function main() {
await AppDataSource.initialize();