File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export default (): any => {
66 port : parseInt ( process . env . DATABASE_PORT , 10 ) || 5433 ,
77 username : process . env . DATABASE_USERNAME || "os2iot" ,
88 password : process . env . DATABASE_PASSWORD || "toi2so" ,
9+ ssl : process . env . DATABASE_ENABLE_SSL === "true"
910 } ,
1011 jwt : {
1112 secret : process . env . JWT_SECRET || "secretKey-os2iot-secretKey" ,
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ import { OpenDataDkSharingModule } from "./open-data-dk-sharing.module";
5252 autoLoadEntities : true ,
5353 retryAttempts : 0 ,
5454 maxQueryExecutionTime : 1000 , // Log queries slower than 1000 ms
55+ ssl : configService . get < boolean > ( "database.ssl" )
5556 } ) ,
5657 } ) ,
5758 // LoggerModule.forRoot({
You can’t perform that action at this time.
0 commit comments