Skip to content

Commit

Permalink
Workaround to Address Axios Issue (#5069)
Browse files Browse the repository at this point in the history
* Work Around to Address Axios Issue

This addresses an issue in Axios 1.2.0 that causes data to be unreadable. See axios/axios#5328

* lint
  • Loading branch information
nathanfiscus committed Dec 3, 2022
1 parent a89e0ee commit d9bdb91
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 d9bdb91

Please sign in to comment.