The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/ee/server/startup/index.ts

22 lines
537 B

import '../apps/startup';
import './apps';
import './audit';
import './deviceManagement';
import './engagementDashboard';
import './maxRoomsPerGuest';
import './seatsCap';
import './services';
import './upsell';
import { api } from '@rocket.chat/core-services';
import { isRunningMs } from '../../../server/lib/isRunningMs';
// only starts network broker if running in micro services mode
if (isRunningMs()) {
const { broker } = await import('./broker');
api.setBroker(broker);
void api.start();
} else {
require('./presence');
}