Skip to content

Commit

Permalink
Work Around to Address Axios Issue
Browse files Browse the repository at this point in the history
This addresses an issue in Axios 1.2.0 that causes data to be unreadable. See axios/axios#5328
  • Loading branch information
nathanfiscus committed Dec 2, 2022
1 parent d704181 commit 4872798
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ota/common.js
Expand Up @@ -458,6 +458,9 @@ function getAxios() {
config = {
proxy: false,
httpsAgent: new HttpsProxyAgent(proxy),
headers:{
"Accept-Encoding": "*",
},
};
}

Expand Down

0 comments on commit 4872798

Please sign in to comment.