diff options
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, }); |
