Skip to content

Commit 46dbf7d

Browse files
authored
bug: set ssl from env (#197)
1 parent 8f71ef2 commit 46dbf7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ormconfig.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ module.exports = {
1111
"migrations": ["src/migration/*.ts"],
1212
"cli": {
1313
"migrationsDir": "src/migration"
14-
}
14+
},
15+
"ssl": process.env.DATABASE_ENABLE_SSL === "true"
1516
}

0 commit comments

Comments
 (0)