mirror of
https://github.com/immich-app/immich.git
synced 2025-11-17 12:15:38 -05:00
* feat: change log level at runtime * chore: open api * chore: prefer env over runtime * chore: remove default env value
17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
import { DomainModule } from '@app/domain';
|
|
import { InfraModule } from '@app/infra';
|
|
import { Module, OnModuleInit } from '@nestjs/common';
|
|
import { AppService } from './app.service';
|
|
|
|
@Module({
|
|
imports: [DomainModule.register({ imports: [InfraModule] })],
|
|
providers: [AppService],
|
|
})
|
|
export class MicroservicesModule implements OnModuleInit {
|
|
constructor(private appService: AppService) {}
|
|
|
|
async onModuleInit() {
|
|
await this.appService.init();
|
|
}
|
|
}
|