Skip to content

Commit

Permalink
Fix adapter issue with latest axios version
Browse files Browse the repository at this point in the history
related to axios/axios#5277
  • Loading branch information
MrChuckomo committed Nov 21, 2023
1 parent b00adc8 commit c70140a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/request.js
Expand Up @@ -9,7 +9,7 @@ const fs = require('fs');

const axiosInstance = axios.create({
// fixes issue with proxy mode due to how electron apps are packaged
adapter: require('axios/lib/adapters/http'),
adapter: 'http',
headers: {
'Accept': 'application/xml, text/xml'
}
Expand Down

0 comments on commit c70140a

Please sign in to comment.