mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
Adding proper TLS/SSL support to poolOptions so that the similaritySearchVectorWithScore function actually connects to Postgres via TLS/SSL when specified in the additionalConfig.
This commit is contained in:
@@ -253,7 +253,8 @@ const similaritySearchVectorWithScore = async (
|
|||||||
port: postgresConnectionOptions.port,
|
port: postgresConnectionOptions.port,
|
||||||
user: postgresConnectionOptions.username,
|
user: postgresConnectionOptions.username,
|
||||||
password: postgresConnectionOptions.password,
|
password: postgresConnectionOptions.password,
|
||||||
database: postgresConnectionOptions.database
|
database: postgresConnectionOptions.database,
|
||||||
|
ssl: postgresConnectionOptions.extra?.ssl
|
||||||
}
|
}
|
||||||
const pool = new Pool(poolOptions)
|
const pool = new Pool(poolOptions)
|
||||||
const conn = await pool.connect()
|
const conn = await pool.connect()
|
||||||
|
|||||||
Reference in New Issue
Block a user