test webSocket
This commit is contained in:
parent
b24a900198
commit
95210572c4
3 changed files with 21 additions and 20 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue