mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Merge branch 'dev' into analytics
This commit is contained in:
commit
8451e3261d
1 changed files with 2 additions and 7 deletions
|
|
@ -17,14 +17,9 @@ function getClient() {
|
||||||
const ssl: { ssl?: tls.ConnectionOptions | boolean; sasl?: SASLOptions | Mechanism } =
|
const ssl: { ssl?: tls.ConnectionOptions | boolean; sasl?: SASLOptions | Mechanism } =
|
||||||
username && password
|
username && password
|
||||||
? {
|
? {
|
||||||
ssl: {
|
ssl: true,
|
||||||
checkServerIdentity: () => undefined,
|
|
||||||
ca: [process.env.CA_CERT],
|
|
||||||
key: process.env.CLIENT_KEY,
|
|
||||||
cert: process.env.CLIENT_CERT,
|
|
||||||
},
|
|
||||||
sasl: {
|
sasl: {
|
||||||
mechanism: 'plain',
|
mechanism: 'scram-sha-256',
|
||||||
username,
|
username,
|
||||||
password,
|
password,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue