From e51bca7bf7bf687d9e621dd43dacff79db4b8cdc Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sat, 9 Oct 2021 15:11:13 -0400 Subject: [PATCH] Provide key to axios's https config --- src/routes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes.js b/src/routes.js index 23ca42be..6f144dee 100644 --- a/src/routes.js +++ b/src/routes.js @@ -52,7 +52,8 @@ module.exports = async ( try { const Http = Axios.create({ httpsAgent: new httpsAgent.Agent({ - ca: await FS.readFile(CA) + ca: await FS.readFile(CA), + key: await FS.readFile(CA_KEY) }) })