From 238d458e3f13e167db9ae0bbec4fe418c6936a6e Mon Sep 17 00:00:00 2001 From: IMHOJEONG <39ghwjd@naver.com> Date: Sat, 30 Dec 2023 16:22:34 +0900 Subject: [PATCH] [revise]: revise app.module.ts for deploy --- apps/pwrcode-backend/src/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pwrcode-backend/src/app.module.ts b/apps/pwrcode-backend/src/app.module.ts index c3b821a..faeec43 100755 --- a/apps/pwrcode-backend/src/app.module.ts +++ b/apps/pwrcode-backend/src/app.module.ts @@ -11,7 +11,7 @@ import { SearchModule } from './modules/search/search.module'; imports: [ ConfigModule.forRoot({ // envFilePath: ['.env.development', '.env.production'], - envFilePath: [(process.env.NODE_ENV === 'production') ? '.env.production' : '.env.development'], + envFilePath: ['.env.production'], }), TypeOrmModule.forRoot({ type: 'mysql',