When we create a new instance of axios, a new object is created, and new configurations, headers, interceptors, and manipulators are defined. This happens because axios declares the create functions as the same as new Class. It's the same interface but different objects.
Using this possibility, we were able to create two connection drivers, one for the local API and another for the JSONPlaceHolder API, which has a different baseURL.
Because of MirageJS server integration, all the HTTP requests are intercepted by MirageJS, so we needed to add a directive in the router constructor that indicates the routes that MirageJS won't intercept.