Skip to content

Commit 5ce27a6

Browse files
committed
SSL configuration fixed
1 parent 184372b commit 5ce27a6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ root = true
22

33
[*]
44
indent_style = space
5+
quote_type = single
56
indent_size = 2
67
charset = utf-8
78
trim_trailing_whitespace = true

api/src/config/database.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ module.exports = {
66
password: process.env.POSTGRES_PASSWORD,
77
database: process.env.POSTGRES_DB,
88
operatorAliases: false,
9+
dialectOptions: {
10+
ssl: {
11+
rejectUnauthorized: false
12+
}
13+
},
914
define: {
1015
timestamps: true,
1116
underscored: true,
12-
underscoredAll: true,
13-
},
17+
underscoredAll: true
18+
}
1419
};

0 commit comments

Comments
 (0)