expressSandbox/PG/index.js
2024-12-09 18:00:39 +08:00

12 lines
182 B
JavaScript

const { Pool } = require('pg')
const pool = new Pool({
user: 'postgres',
host: 'yhm.ink',
database: 'postgres',
password: '123456',
port: 54321,
})
module.exports = pool