Provide key to axios's https config

This commit is contained in:
Daniel Lugo 2021-10-09 15:11:13 -04:00
parent e1bd05f7a5
commit e51bca7bf7

View file

@ -52,7 +52,8 @@ module.exports = async (
try { try {
const Http = Axios.create({ const Http = Axios.create({
httpsAgent: new httpsAgent.Agent({ httpsAgent: new httpsAgent.Agent({
ca: await FS.readFile(CA) ca: await FS.readFile(CA),
key: await FS.readFile(CA_KEY)
}) })
}) })