12 lines
194 B
JavaScript
12 lines
194 B
JavaScript
|
const Pool = require('pg').Pool
|
||
|
const pool = new Pool({
|
||
|
user: 'postgres',
|
||
|
password: '123',
|
||
|
host: '192.168.56.101',
|
||
|
port: 5432,
|
||
|
database: 'labwork'
|
||
|
})
|
||
|
|
||
|
module.exports = pool
|
||
|
|