mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-05-02 04:17:10 +02:00
Add option to enable encryption on MSSQL Server db (#4134)
* add option to enable encryption on mssql server dbs * add tests for ConnectionStringParser
This commit is contained in:
@@ -45,6 +45,10 @@ class MSSQLConnector {
|
||||
database: parsed?.endpoint,
|
||||
server: parsed?.hosts?.[0]?.host,
|
||||
port: parsed?.hosts?.[0]?.port,
|
||||
options: {
|
||||
...this.connectionConfig.options,
|
||||
encrypt: parsed?.options?.encrypt === "true",
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user