From 324a1d2f36f6ed56c43249ab491aa2798d9cb21d Mon Sep 17 00:00:00 2001 From: IMHOJEONG <39ghwjd@naver.com> Date: Sat, 30 Dec 2023 17:17:13 +0900 Subject: [PATCH] [revise]: revise app.module.ts for deploy --- apps/pwrcode-backend/src/app.module.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/pwrcode-backend/src/app.module.ts b/apps/pwrcode-backend/src/app.module.ts index 7e4aaed..2648d2c 100755 --- a/apps/pwrcode-backend/src/app.module.ts +++ b/apps/pwrcode-backend/src/app.module.ts @@ -10,12 +10,12 @@ import { SearchModule } from './modules/search/search.module'; @Module({ imports: [ ConfigModule.forRoot({ - // envFilePath: ['.env.development', '.env.production'], - envFilePath: [ - process.env.NODE_ENV === 'production' - ? '.env.production' - : '.env.development', - ], + envFilePath: ['.env.production'], + // envFilePath: [ + // process.env.NODE_ENV === 'production' + // ? '.env.production' + // : '.env.development', + // ], }), TypeOrmModule.forRoot({ type: 'mysql',