This commit is contained in:
AdisakKanthawilang 2025-03-06 14:55:02 +07:00
parent 0f639826c3
commit 42cb907cfc
2 changed files with 5 additions and 6 deletions

View file

@ -13,12 +13,9 @@ 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();