Skip to content

NestJS 中设置环境变量和配置

思路

通过不同的环境变量加载不同的配置文件,将其作为ConfigModule.forRoot() 参数中envFilePath的值

参考文档

Released under the MIT License.