Skip to content

Commit 7271f33

Browse files
committed
hotfix
1 parent 26d27fd commit 7271f33

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/configs/db.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ const poolConfig: pg.PoolConfig = {
1919
connectionTimeoutMillis: 5000, // 연결 시간 초과 (5초)
2020
};
2121

22-
// if (process.env.NODE_ENV === 'production') {
23-
poolConfig.ssl = {
24-
rejectUnauthorized: false,
25-
};
26-
// }
22+
if (process.env.NODE_ENV === 'production') {
23+
poolConfig.ssl = {
24+
rejectUnauthorized: false,
25+
};
26+
}
2727

2828
const pool = new Pool(poolConfig);
2929

0 commit comments

Comments
 (0)