Use yaml escaping in the cert file
This commit is contained in:
@ -49,7 +49,7 @@ const run = async () => {
|
|||||||
if (secrets.REDIS_URL?.startsWith('rediss://') && secrets.REDIS_CERT) {
|
if (secrets.REDIS_URL?.startsWith('rediss://') && secrets.REDIS_CERT) {
|
||||||
return {
|
return {
|
||||||
tls: {
|
tls: {
|
||||||
cert: secrets.REDIS_CERT?.replace(/\\n/g, '\n'),
|
cert: secrets.REDIS_CERT,
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
},
|
},
|
||||||
maxRetriesPerRequest: null,
|
maxRetriesPerRequest: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user