Skip to content

Commit

Permalink
security
Browse files Browse the repository at this point in the history
  • Loading branch information
cmayeux05 committed Oct 20, 2024
1 parent 4a0233a commit 0a511cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/config/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ module.exports = ({ env }) => ({
username: env('DATABASE_USERNAME', 'postgres'),
password: env('DATABASE_PASSWORD', 'postgres'),
schema: 'public',
ssl: env('NODE_ENV') == 'production'
? { rejectUnauthorized: false }
: false
ssl: { rejectUnauthorized: false }
},
options: {
'pool': {
Expand Down

0 comments on commit 0a511cf

Please sign in to comment.