19 lines
456 B
TypeScript
19 lines
456 B
TypeScript
|
|
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 {}
|