xunfeiAI/node_modules/axios/lib/platform/node/index.js

13 lines
297 B
JavaScript
Raw Normal View History

2023-09-12 20:19:08 +08:00
import URLSearchParams from './classes/URLSearchParams.js'
import FormData from './classes/FormData.js'
export default {
isNode: true,
classes: {
URLSearchParams,
FormData,
Blob: typeof Blob !== 'undefined' && Blob || null
},
protocols: [ 'http', 'https', 'file', 'data' ]
};