mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
More comments
This commit is contained in:
parent
a7563a55e1
commit
b9e2fc465c
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ export const createRedisClient = async (url?: string, cert?: string) => {
|
|||
socket: {
|
||||
tls: url?.startsWith('rediss://'), // rediss:// is the protocol for TLS
|
||||
cert: cert?.replace(/\\n/g, '\n'), // replace \n with new line
|
||||
rejectUnauthorized: false,
|
||||
rejectUnauthorized: false, // for self-signed certs
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue