mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-24 16:46:05 +08:00
chore: add missing comment
This commit is contained in:
@ -18,7 +18,7 @@ const newPostgresClient = async (connection: Connection) => {
|
|||||||
key: connection.ssl?.key,
|
key: connection.ssl?.key,
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
// Use rejectUnauthorized to infer sslmode=prefer since hosted PG venders have SSL enabled.
|
// rejectUnauthorized=false to infer sslmode=prefer since hosted PG venders have SSL enabled.
|
||||||
clientConfig.ssl = {
|
clientConfig.ssl = {
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user