adjust postgres for heroku

pull/1/head
Matt Huntington 5 years ago
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…
Cancel
Save