mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-26 05:01:12 +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,
|
||||
user: postgresConnectionOptions.username,
|
||||
password: postgresConnectionOptions.password,
|
||||
database: postgresConnectionOptions.database
|
||||
database: postgresConnectionOptions.database,
|
||||
ssl: postgresConnectionOptions.extra?.ssl
|
||||
}
|
||||
const pool = new Pool(poolOptions)
|
||||
const conn = await pool.connect()
|
||||
|
||||
Reference in New Issue
Block a user