Provide key to axios's https config
This commit is contained in:
parent
e1bd05f7a5
commit
e51bca7bf7
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue