@xuda.io/runtime-bundle 1.0.748 → 1.0.749
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-slim.js
CHANGED
|
@@ -14378,7 +14378,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14378
14378
|
if (_session.worker_type === 'Dev') {
|
|
14379
14379
|
return `../../plugins/${plugin_name}/${resource}`;
|
|
14380
14380
|
}
|
|
14381
|
-
return `https://${_session.domain}/plugins/${plugin_name}/${
|
|
14381
|
+
return `https://${_session.domain}/plugins/${plugin_name}/${APP_OBJ[_session.app_id].app_plugins_purchased[plugin_name].manifest[resource].dist ? 'dist/' : ''}${resource}?gtp_token=${_session.gtp_token}&app_id=${_session.app_id}`;
|
|
14382
14382
|
};
|
|
14383
14383
|
let path = get_css_path('style.css');
|
|
14384
14384
|
func.utils.load_css_on_demand(path);
|
|
@@ -12088,7 +12088,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12088
12088
|
if (_session.worker_type === 'Dev') {
|
|
12089
12089
|
return `../../plugins/${plugin_name}/${resource}`;
|
|
12090
12090
|
}
|
|
12091
|
-
return `https://${_session.domain}/plugins/${plugin_name}/${
|
|
12091
|
+
return `https://${_session.domain}/plugins/${plugin_name}/${APP_OBJ[_session.app_id].app_plugins_purchased[plugin_name].manifest[resource].dist ? 'dist/' : ''}${resource}?gtp_token=${_session.gtp_token}&app_id=${_session.app_id}`;
|
|
12092
12092
|
};
|
|
12093
12093
|
let path = get_css_path('style.css');
|
|
12094
12094
|
func.utils.load_css_on_demand(path);
|