Skip to content

Commit

Permalink
Update database-connection.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
esteban-gs authored Nov 29, 2023
1 parent 1275489 commit a4d9ba1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions server/src/database-connection.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@ const appConfigs = (environment: AppEnvironment): TypeOrmModuleOptions => {
case 'staging':
return {
...defaultOptions,
ssl: {
ca: process.env.POSTGRESQL_SSL_CA ?? '',
cert: process.env.POSTGRESQL_SSL_CERT ?? '',
key: process.env.POSTGRESQL_SSL_KEY ?? '',
rejectUnauthorized: false,
},
ssl: true,
};

case 'development':
Expand Down

0 comments on commit a4d9ba1

Please sign in to comment.