From d146ca408bea203f44118db180f3c4c06a8d2d21 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 8 Dec 2025 17:28:47 +0900 Subject: (김준회) db.ts 환경변수 사용하도록 변경, 메뉴 js 시딩파일 제거 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/db.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db/db.ts') diff --git a/db/db.ts b/db/db.ts index 95e3d89a..4a51d870 100644 --- a/db/db.ts +++ b/db/db.ts @@ -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, }); -- cgit v1.2.3