-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Closed
Description
Is your feature request related to a problem? Please describe.
I am creating a library that will mostly be used in electron projects. The library needs to perform http request to a localhost server that uses a self signed certificate, so I need to use https.Agent. The problem is, that axios uses the xhr adapter instead of the http adapter. When i try to import the correct adapter from axios/lib/adapters/http I get the error ERR_PACKAGE_PATH_NOT_EXPORTED.
Describe the solution you'd like
I need a way to tell axios to always use the http adapter. The easiest way to do this is by exposing axios/lib/adapters/http.
Describe alternatives you've considered
No response
Additional context/Screenshots
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels