infinitered / apisauce

Axios + standardized errors + request/response transforms.
MIT License
2.8k stars 184 forks source link

baseURL is string or undefined #182

Closed nonameolsson closed 6 years ago

nonameolsson commented 6 years ago

Allows baseURL to be undefined. This is needed to do something like this:

baseURL: process.env.MY_ENVIRONMENT_VARIABLE