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