mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-18 19:32:21 -06:00
feat: Added rabbitmq to send events
This commit is contained in:
@@ -9,7 +9,8 @@ import { configService, Cors, HttpServer } from './config/env.config';
|
||||
import { onUnexpectedError } from './config/error.config';
|
||||
import { Logger } from './config/logger.config';
|
||||
import { ROOT_DIR } from './config/path.config';
|
||||
import { initIO } from './libs/socket';
|
||||
import { initAMQP } from './libs/amqp.server';
|
||||
import { initIO } from './libs/socket.server';
|
||||
import { ServerUP } from './utils/server-up';
|
||||
import { HttpStatus, router } from './whatsapp/routers/index.router';
|
||||
import { waMonitor } from './whatsapp/whatsapp.module';
|
||||
@@ -86,6 +87,8 @@ function bootstrap() {
|
||||
|
||||
initIO(server);
|
||||
|
||||
initAMQP();
|
||||
|
||||
onUnexpectedError();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user