cocottetech/@platform/codebase/@features/cache-rebuilder/src/app.module.ts

19 lines
456 B
TypeScript
Raw Normal View History

import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { CacheInvalidateModule } from './cache-invalidate/cache-invalidate.module.js';
import { HealthModule } from './health/health.module.js';
@Module({
imports: [
ConfigModule.forRoot({
isGlobal: true,
cache: true,
envFilePath: ['.env.local', '.env'],
}),
CacheInvalidateModule,
HealthModule,
],
})
export class AppModule {}