Skip to content

Commit

Permalink
Add PG_CONNECTION_STRING
Browse files Browse the repository at this point in the history
  • Loading branch information
DemianParkhomenko committed Sep 15, 2023
1 parent 09fd563 commit faa81e7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ module.exports = {
port: 8001,
},
db: {
host: '127.0.0.1',
port: 5432,
database: 'example',
user: 'marcus',
password: 'marcus',
connectionString:
process.env.PG_CONNECTION_STRING ||
'postgresql://marcus:[email protected]:5432/example',
},
transport: 'http',
};

0 comments on commit faa81e7

Please sign in to comment.