12 lines
182 B
JavaScript
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
|