We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c542371 commit 0b5da69Copy full SHA for 0b5da69
api/src/config/database.js
@@ -1,7 +1,7 @@
1
module.exports = {
2
dialect: 'postgres',
3
// host: '127.0.0.1',
4
- host: process.env.POSTGRES_HOST,
+ host: `${process.env.POSTGRES_HOST}?sslmode=require`,
5
username: process.env.POSTGRES_USER,
6
password: process.env.POSTGRES_PASSWORD,
7
database: process.env.POSTGRES_DB,
0 commit comments