import { Module } from '@nestjs/common'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { NacosModule } from './nacos/nacos.module'; import { ConfigModule } from '@nestjs/config'; import { RetrievalModule } from './retrieval/retrieval.module'; import { LabelModule } from './label/label.module'; @Module({ imports: [ ConfigModule.forRoot({ isGlobal: true, envFilePath: `.env.${process.env.NODE_ENV}`, }), NacosModule, RetrievalModule, LabelModule, ], controllers: [AppController], providers: [AppService], exports: [], }) export class AppModule {}