feat: enable websocket

This commit is contained in:
Methapon2001 2025-03-31 16:59:14 +07:00
parent 8cf13b8690
commit b2ac1878b9
4 changed files with 294 additions and 39 deletions

View file

@ -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();