@xuda.io/runtime-bundle 1.0.1396 → 1.0.1397
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/js/xuda-runtime-bundle.js +6 -6
- package/js/xuda-runtime-bundle.min.js +4 -4
- package/js/xuda-runtime-mini-bundle.js +1 -1
- package/js/xuda-runtime-mini-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +6 -6
- package/js/xuda-runtime-slim.min.es.js +6 -6
- package/js/xuda-runtime-slim.min.js +4 -4
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +1 -1
- package/js/xuda-worker-bundle.js +1 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -25800,7 +25800,7 @@ func.utils.replace_studio_drive_url = function (SESSION_ID, val) {
|
|
|
25800
25800
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
25801
25801
|
if (!_session.is_deployment) return val;
|
|
25802
25802
|
try {
|
|
25803
|
-
return val.replaceAll(`https://xuda.
|
|
25803
|
+
return val.replaceAll(`https://xuda.ai/studio-drive/${APP_OBJ[_session.app_id].app_replicate}`, `https://${_session.domain}/studio-drive/${APP_OBJ[_session.app_id].app_replicate}`);
|
|
25804
25804
|
} catch (err) {
|
|
25805
25805
|
return val;
|
|
25806
25806
|
}
|
|
@@ -27290,7 +27290,7 @@ func.UI.utils.progressScreen.show = function (SESSION_ID, textP, show_bytesP, er
|
|
|
27290
27290
|
const app_obj = APP_OBJ?.[SESSION_OBJ?.[SESSION_ID]?.app_id];
|
|
27291
27291
|
|
|
27292
27292
|
var background_color = '';
|
|
27293
|
-
var icon = app_obj?._conf?.logo_url || 'https://xuda.
|
|
27293
|
+
var icon = app_obj?._conf?.logo_url || 'https://xuda.ai/dist/images/xuda_logo.png';
|
|
27294
27294
|
if (app_obj?.app_pic) {
|
|
27295
27295
|
icon = app_obj.app_pic;
|
|
27296
27296
|
}
|
|
@@ -41097,7 +41097,7 @@ func.UI.main.embed_loader = async function (SESSION_ID) {
|
|
|
41097
41097
|
window.addEventListener('online', updateOnlineStatus);
|
|
41098
41098
|
window.addEventListener('offline', updateOnlineStatus);
|
|
41099
41099
|
|
|
41100
|
-
console.log('xuda.
|
|
41100
|
+
console.log('xuda.ai system ready.');
|
|
41101
41101
|
$('body')[0].dispatchEvent(glb.system_ready_event);
|
|
41102
41102
|
};
|
|
41103
41103
|
func.UI.main.set_custom_css = function (SESSION_ID, callbackP) {
|
|
@@ -41433,7 +41433,7 @@ function xuda(...args) {
|
|
|
41433
41433
|
|
|
41434
41434
|
return subdomain;
|
|
41435
41435
|
};
|
|
41436
|
-
_session[key] = getSubdomain(_session[key]) ? getSubdomain(_session[key]) + '.xuda.
|
|
41436
|
+
_session[key] = getSubdomain(_session[key]) ? getSubdomain(_session[key]) + '.xuda.ai' : 'xuda.ai';
|
|
41437
41437
|
}
|
|
41438
41438
|
|
|
41439
41439
|
break;
|
|
@@ -42148,7 +42148,7 @@ func.index.init_document_listeners = function () {
|
|
|
42148
42148
|
glb.WINDOW_LOCATION_SEARCH = window.location.search;
|
|
42149
42149
|
};
|
|
42150
42150
|
func.index.checkConnectivity = async function () {
|
|
42151
|
-
const endpoints = ['https://xuda.
|
|
42151
|
+
const endpoints = ['https://xuda.ai/favicon.ico']; //'https://www.cloudflare.com/favicon.ico',
|
|
42152
42152
|
|
|
42153
42153
|
const promises = endpoints.map((url) =>
|
|
42154
42154
|
fetch(url, { method: 'HEAD', mode: 'no-cors' })
|
|
@@ -42215,7 +42215,7 @@ func.index.new_webworker = async function (SESSION_ID, prog_obj, obj) {
|
|
|
42215
42215
|
|
|
42216
42216
|
const worker_name =
|
|
42217
42217
|
`${typeof _session.SLIM_BUNDLE === 'undefined' || !_session.SLIM_BUNDLE ? '' : 'Slim '}${prog_obj.menuName} worker` +
|
|
42218
|
-
// (prog_obj.menuName || "xuda.
|
|
42218
|
+
// (prog_obj.menuName || "xuda.ai worker") +
|
|
42219
42219
|
' ' +
|
|
42220
42220
|
glb.worker_type +
|
|
42221
42221
|
': #' +
|