This commit is contained in:
Yuri Kuznetsov
2023-10-25 11:03:29 +03:00
parent 9d3efae141
commit d3d940d9c9
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -29,6 +29,7 @@
/** @module ajax */
import $ from 'jquery';
import Utils from 'utils';
let isConfigured = false;
/** @type {number} */
@@ -62,7 +63,7 @@ let onTimeout;
* @property {boolean} [resolveWithXhr] To resolve with `XMLHttpRequest`.
*/
const baseUrl = Espo.Utils.obtainBaseUrl();
const baseUrl = Utils.obtainBaseUrl();
// noinspection JSUnusedGlobalSymbols
/**
+2 -2
View File
@@ -251,7 +251,7 @@ class App {
viewFactory = null
/**
* @type function(string, function(View))
* @type {function(string, function(View))}
* @private
*/
viewLoader = null
@@ -1442,7 +1442,7 @@ class App {
files.push(file);
});
let baseUrl = Espo.Utils.obtainBaseUrl();
let baseUrl = Utils.obtainBaseUrl();
let timestamp = this.loader.getCacheTimestamp();
let promiseList = files.map(file => {