test webSocket

This commit is contained in:
AdisakKanthawilang 2025-03-07 12:04:23 +07:00
parent b24a900198
commit 95210572c4
3 changed files with 21 additions and 20 deletions

View file

@ -17,9 +17,10 @@ import { ProfileSalaryController } from "./controllers/ProfileSalaryController";
import { WebSocketServer } from "ws";
import http from "http";
export const wss = new WebSocketServer({ noServer: true,
path: "/api/vi/org/socket",
path: "/api/v1/org-socket",
});
async function main() {
await AppDataSource.initialize();