@navservice/core 1.68.0 → 1.69.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 +1 -4
- package/build/lib/index.cjs +1 -4
- package/package.json +1 -1
package/build/es/index.js
CHANGED
|
@@ -163,11 +163,8 @@ const utils_session_storage = _session_storage;
|
|
|
163
163
|
const _api_api = class _api {
|
|
164
164
|
static servidor_pricipal = class {
|
|
165
165
|
static get #axios() {
|
|
166
|
-
console.log(src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL, 'config_env_core.PUBLIC_BASE_URL_BACKEND_PRINCIPAL');
|
|
167
|
-
const baseURL = new URL(src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL).toString().replace(/\/?$/, "/");
|
|
168
|
-
console.log(baseURL, 'baseURL');
|
|
169
166
|
return axios.create({
|
|
170
|
-
baseURL
|
|
167
|
+
baseURL: src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL
|
|
171
168
|
});
|
|
172
169
|
}
|
|
173
170
|
static async post({ url, data, setToken = true }) {
|
package/build/lib/index.cjs
CHANGED
|
@@ -244,11 +244,8 @@ const _session_storage = class _session_storage {
|
|
|
244
244
|
const _api_api = class _api {
|
|
245
245
|
static servidor_pricipal = class servidor_pricipal {
|
|
246
246
|
static get #axios() {
|
|
247
|
-
console.log(src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL, 'config_env_core.PUBLIC_BASE_URL_BACKEND_PRINCIPAL');
|
|
248
|
-
const baseURL = new URL(src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL).toString().replace(/\/?$/, "/");
|
|
249
|
-
console.log(baseURL, 'baseURL');
|
|
250
247
|
return external_axios_default().create({
|
|
251
|
-
baseURL
|
|
248
|
+
baseURL: src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL
|
|
252
249
|
});
|
|
253
250
|
}
|
|
254
251
|
static async post({ url, data, setToken = true }) {
|