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/server/main.ts

35 lines
953 B

import './models/startup';
/**
* ./settings uses top level await, in theory the settings creation
* and the startup should be done in parallel
*/
import './settings';
import '../app/lib/server/startup';
import { configureLoginServices } from './configuration';
import { configureLogLevel } from './configureLogLevel';
import { startLicense, registerEEBroker } from './ee';
import { registerServices } from './services/startup';
import { startup } from './startup';
import './importPackages';
import './methods';
import './publications';
import './routes';
await import('./lib/logger/startup');
await import('../lib/oauthRedirectUriServer');
await import('./lib/pushConfig');
await import('./stream/stdout');
await import('./features/EmailInbox/index');
await configureLogLevel();
await registerServices();
await import('../app/settings/server');
await configureLoginServices();
await registerEEBroker();
await startup();
await startLicense();