From 4ecb47f80f74576a6bc74ac53ab5b32ae0784f19 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 12 Jan 2024 20:41:10 +0800 Subject: [PATCH] Use yaml escaping in the cert file --- pkg/bull-queue-admin/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bull-queue-admin/index.js b/pkg/bull-queue-admin/index.js index eff2cbdf2..21569142b 100644 --- a/pkg/bull-queue-admin/index.js +++ b/pkg/bull-queue-admin/index.js @@ -49,7 +49,7 @@ const run = async () => { if (secrets.REDIS_URL?.startsWith('rediss://') && secrets.REDIS_CERT) { return { tls: { - cert: secrets.REDIS_CERT?.replace(/\\n/g, '\n'), + cert: secrets.REDIS_CERT, rejectUnauthorized: false, }, maxRetriesPerRequest: null,