Skip to content

Commit

Permalink
Merge pull request #193 from mbonig/fix/postgres-ssl
Browse files Browse the repository at this point in the history
fix: updating postgres to enforcing SSL
  • Loading branch information
mbonig authored Oct 26, 2023
2 parents 95f6fe5 + f402922 commit cf45ebc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/handlers/postgres-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export class PostgresSqlProvider implements IProvider {
database: props.databaseName || 'postgres',
password: props.password,
port: props.port || 5432,
ssl: true,
});
}

Expand All @@ -24,4 +25,4 @@ export class PostgresSqlProvider implements IProvider {
console.log('Results:', JSON.stringify(results, null, 2));
return results;
}
}
}

0 comments on commit cf45ebc

Please sign in to comment.