Skip to content

Commit ab5aa33

Browse files
authored
Add files via upload
1 parent ede88a2 commit ab5aa33

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

database.js

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
var pgp = require('pg-promise')();
22

3-
const dbConfig = {
4-
host: 'localhost',
5-
port: 5432,
6-
database: 'scrumlove',
7-
user: 'chasedudas',
8-
password: 'Chase13' // TODO: Fill in your PostgreSQL password here.
9-
// Use empty string if you did not set a password
10-
};
3+
const dbConfig = process.env.DATABASE_URL;
114

125
var db = pgp(dbConfig);
136

0 commit comments

Comments
 (0)