Skip to content

Commit

Permalink
fix(PostgreSQL): issue with ssl enabled and connection strings, fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Jun 21, 2024
1 parent 25b7ae5 commit 4a38656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/libs/connStringDecode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const connStringConstruct = (args: ConnectionParams & { pgConnString?: string })
args.sshPort = stringArgs.sshPort;

// ssl mode
args.ssl = checkForSSl(args.pgConnString);
args.ssl = checkForSSl(args.pgConnString) || args.ssl;
args.cert = stringArgs.sslcert;
args.key = stringArgs.sslkey;
args.ca = stringArgs.sslrootcert;
Expand Down

0 comments on commit 4a38656

Please sign in to comment.