sysone-api-mapper 1.0.92 → 1.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/axiosInstance.js +0 -16
- package/package.json +1 -1
package/axiosInstance.js
CHANGED
|
@@ -4,20 +4,4 @@ const axiosInstance = axios.create({
|
|
|
4
4
|
baseURL: '',
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
// Agregar interceptor para debug
|
|
8
|
-
axiosInstance.interceptors.request.use(
|
|
9
|
-
(config) => {
|
|
10
|
-
console.log("📡 Request desde apiMapper:", {
|
|
11
|
-
baseURL: config.baseURL,
|
|
12
|
-
url: config.url,
|
|
13
|
-
fullURL: `${config.baseURL}${config.url}`,
|
|
14
|
-
headers: config.headers
|
|
15
|
-
});
|
|
16
|
-
return config;
|
|
17
|
-
},
|
|
18
|
-
(error) => {
|
|
19
|
-
return Promise.reject(error);
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
|
|
23
7
|
export default axiosInstance;
|