Skip to content

Commit

Permalink
fix(cu): pg ru should connect via ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
twilson63 committed Jan 9, 2025
1 parent 0f5b3de commit fab4b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/cu/src/effects/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const COLLATION_SEQUENCE_MIN_CHAR = '0'

export async function createDbClient ({ url, ...rest }) {
if (url.startsWith('postgres://')) {
return PostgresClient.createPostgresClient({ url, ...rest })
return PostgresClient.createPostgresClient({ url, ssl: { rejectUnauthorized: false }, ...rest })
}

return SqliteClient.createSqliteClient({ url: `${url}.sqlite`, ...rest })
Expand Down

0 comments on commit fab4b9b

Please sign in to comment.