waterwolf-auth/src/app.module.ts

21 lines
500 B
TypeScript
Raw Normal View History

2024-07-14 20:25:52 -04:00
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { ConfigModule } from '@nestjs/config';
import config from './config/config';
import { MailModule } from './mail/mail.module';
2024-07-14 20:25:52 -04:00
@Module({
imports: [
ConfigModule.forRoot({
cache: true,
isGlobal: true,
load: [config],
}),
MailModule,
],
2024-07-14 20:25:52 -04:00
controllers: [AppController],
providers: [AppService],
})
export class AppModule {}