@navservice/usuario 1.10.0 → 1.12.0
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/build/es/index.js +4 -1
- package/package.json +1 -1
package/build/es/index.js
CHANGED
|
@@ -2345,8 +2345,11 @@ const utils_session_storage = _session_storage;
|
|
|
2345
2345
|
const _api_api = class _api {
|
|
2346
2346
|
static servidor_pricipal = class {
|
|
2347
2347
|
static get #axios() {
|
|
2348
|
+
console.log(es_src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL, 'config_env_core.PUBLIC_BASE_URL_BACKEND_PRINCIPAL');
|
|
2349
|
+
const baseURL = new URL(es_src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL).toString().replace(/\/?$/, "/");
|
|
2350
|
+
console.log(baseURL, 'baseURL');
|
|
2348
2351
|
return lib_axios.create({
|
|
2349
|
-
baseURL
|
|
2352
|
+
baseURL
|
|
2350
2353
|
});
|
|
2351
2354
|
}
|
|
2352
2355
|
static async post({ url, data, setToken = true }) {
|