@navservice/core 1.67.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 -2
- package/build/lib/index.cjs +1 -2
- package/package.json +1 -1
package/build/es/index.js
CHANGED
|
@@ -163,9 +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
|
-
const baseURL = new URL(src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL).toString().replace(/\/?$/, "/");
|
|
167
166
|
return axios.create({
|
|
168
|
-
baseURL
|
|
167
|
+
baseURL: src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL
|
|
169
168
|
});
|
|
170
169
|
}
|
|
171
170
|
static async post({ url, data, setToken = true }) {
|
package/build/lib/index.cjs
CHANGED
|
@@ -244,9 +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
|
-
const baseURL = new URL(src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL).toString().replace(/\/?$/, "/");
|
|
248
247
|
return external_axios_default().create({
|
|
249
|
-
baseURL
|
|
248
|
+
baseURL: src_config_env.PUBLIC_BASE_URL_BACKEND_PRINCIPAL
|
|
250
249
|
});
|
|
251
250
|
}
|
|
252
251
|
static async post({ url, data, setToken = true }) {
|