Skip to content

Commit

Permalink
forgot to add env here
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelbie committed Feb 6, 2020
1 parent fb22ddc commit 06daf6b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ import { default as typeDefs } from './typeDefs';

// PostgreSQL
import { Client } from 'pg';
const client = new Client();
const client = new Client({
user: process.env.PGUSER,
host: process.env.PGHOST,
database: process.env.PGDB,
password: process.env.PGPASS,
port: process.env.PGPORT
});

console.log(process.env);

Expand Down

0 comments on commit 06daf6b

Please sign in to comment.