feat: enable websocket
This commit is contained in:
parent
8cf13b8690
commit
b2ac1878b9
4 changed files with 294 additions and 39 deletions
|
|
@ -14,12 +14,12 @@ import logMiddleware from "./middlewares/logs";
|
|||
import { CommandController } from "./controllers/CommandController";
|
||||
import { ProfileSalaryController } from "./controllers/ProfileSalaryController";
|
||||
|
||||
// import { initWebSocket } from "./services/webSocket";
|
||||
import { initWebSocket } from "./services/webSocket";
|
||||
|
||||
async function main() {
|
||||
await AppDataSource.initialize();
|
||||
|
||||
// initWebSocket();
|
||||
initWebSocket();
|
||||
|
||||
const app = express();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue