mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 04:09:26 +00:00
feat: added routes to handle whatsapp session
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import app from "./app";
|
||||
import { initIO } from "./libs/socket";
|
||||
import { StartWhatsAppSessions } from "./services/WbotServices/StartWhatsAppSessions";
|
||||
import { StartAllWhatsAppsSessions } from "./services/WbotServices/StartAllWhatsAppsSessions";
|
||||
|
||||
const server = app.listen(process.env.PORT, () => {
|
||||
console.log(`Server started on port: ${process.env.PORT}`);
|
||||
});
|
||||
|
||||
initIO(server);
|
||||
StartWhatsAppSessions();
|
||||
StartAllWhatsAppsSessions();
|
||||
|
||||
Reference in New Issue
Block a user