diff options
| author | joonhoekim <26rote@gmail.com> | 2025-12-08 17:28:47 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-12-08 17:28:47 +0900 |
| commit | d146ca408bea203f44118db180f3c4c06a8d2d21 (patch) | |
| tree | b2b62974de173234603731a3df6cf04c9da135ea /db/db.ts | |
| parent | e368c0b7d2bf09204afae353c99cdd6dc14a9ef5 (diff) | |
(김준회) db.ts 환경변수 사용하도록 변경, 메뉴 js 시딩파일 제거
Diffstat (limited to 'db/db.ts')
| -rw-r--r-- | db/db.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,8 +3,8 @@ import { Pool } from 'pg'; import * as schema from './schema'; const pool = new Pool({ - // connectionString: process.env.DATABASE_URL as string, - connectionString: "postgresql://dts:dujinDTS2@localhost:5432/evcp", + connectionString: process.env.DATABASE_URL as string, + // connectionString: "postgresql://dts:dujinDTS2@localhost:5432/evcp", max: Number(process.env.DB_POOL_MAX) || 4, }); |
