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/startRocketChat.ts

19 lines
499 B

import { startLicense } from './ee/app/license/server/startup';
import { registerEEBroker } from './ee/server';
import { startFederationService as startFederationMatrixService } from './ee/server/startup/federation';
const loadBeforeLicense = async () => {
await registerEEBroker();
};
const loadAfterLicense = async () => {
await startFederationMatrixService();
};
export const startRocketChat = async () => {
await loadBeforeLicense();
await startLicense();
await loadAfterLicense();
};