parent
ef9aaf1ad8
commit
fd200cc35b
@ -1,11 +1,7 @@
|
||||
const Client = require('pg').Client
|
||||
|
||||
const client = new Client({
|
||||
user: '',
|
||||
host: 'localhost',
|
||||
database: 'contacts',
|
||||
password: '',
|
||||
port: 5432,
|
||||
connectionString: process.env.DATABASE_URL || 'postgresql://localhost:5432/contacts',
|
||||
})
|
||||
|
||||
module.exports = client;
|
||||
|
||||
Loading…
Reference in new issue