mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-04 07:26:29 +09:00
refactor(server): rename AppModule to RootModule
This commit is contained in:
@ -4,13 +4,13 @@ import { envOption } from '@/env.js';
|
||||
import { ChartManagementService } from '@/core/chart/ChartManagementService.js';
|
||||
import { ServerService } from '@/server/ServerService.js';
|
||||
import { QueueProcessorService } from '@/queue/QueueProcessorService.js';
|
||||
import { AppModule } from '../AppModule.js';
|
||||
import { RootModule } from '../RootModule.js';
|
||||
|
||||
/**
|
||||
* Init worker process
|
||||
*/
|
||||
export async function workerMain() {
|
||||
const app = await NestFactory.createApplicationContext(AppModule);
|
||||
const app = await NestFactory.createApplicationContext(RootModule);
|
||||
app.enableShutdownHooks();
|
||||
|
||||
// start server
|
||||
|
Reference in New Issue
Block a user