We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e327d commit 9a414bbCopy full SHA for 9a414bb
1 file changed
lib/defaults/index.js
@@ -37,7 +37,7 @@ const defaults = {
37
38
transitional: transitionalDefaults,
39
40
- adapter: ['xhr', 'http'],
+ adapter: platform.isNode ? 'http' : 'xhr',
41
42
transformRequest: [function transformRequest(data, headers) {
43
const contentType = headers.getContentType() || '';
0 commit comments