axios-base-url
An axios interceptor allowing you to set a base url for all requests.
Installation
npm i axios-base-url -S
Usage
'http://graph.facebook.com';
That's all you need to do to keep going!
Custom Instances
In case of custom instances, you can directly use the function used by the library:
var axios = ;var base = 'http://graph.facebook.com';axiosinterceptorsrequest;