Skip to content

Commit ff2c1ba

Browse files
committed
refact: fix orm to ssl config connection heroku
1 parent b5af47d commit ff2c1ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ormconfig.js

+6
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,11 @@ module.exports = {
55
"entities": [process.env.ENTITIES_LOCATION],
66
"cli": {
77
"migrationsDir": process.env.MIGRATIONS_DIR
8+
},
9+
"ssl": true,
10+
"extra": {
11+
"ssl": {
12+
"rejectUnauthorized": false
13+
}
814
}
915
}

0 commit comments

Comments
 (0)