mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix redis client cert in nitter handler
This commit is contained in:
parent
5495ad782e
commit
e96458192d
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ export const createRedisClient = (url?: string, cert?: string) => {
|
|||
connectTimeout: 10000, // 10 seconds
|
||||
tls: cert
|
||||
? {
|
||||
cert,
|
||||
cert: cert.replace(/\\n/g, '\n'), // replace \n with new line
|
||||
rejectUnauthorized: false, // for self-signed certs
|
||||
}
|
||||
: undefined,
|
||||
|
|
|
|||
Loading…
Reference in a new issue