@xuda.io/xuda-worker-bundle-min 1.3.956 → 1.3.958

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.
Files changed (2) hide show
  1. package/index.js +10 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6055,13 +6055,16 @@ func.utils.remove_js_css_file = function (filename, filetype) {
6055
6055
  func.utils.replace_studio_drive_url = function (SESSION_ID, val) {
6056
6056
  var _session = SESSION_OBJ[SESSION_ID];
6057
6057
  if (!_session.is_deployment) return val;
6058
-
6059
- return val.replaceAll(
6060
- `https://xuda.io/studio-drive/${APP_OBJ[_session.app_id].app_replicate}`,
6061
- `https://${_session.domain}/studio-drive/${
6062
- APP_OBJ[_session.app_id].app_replicate
6063
- }`
6064
- );
6058
+ try {
6059
+ return val.replaceAll(
6060
+ `https://xuda.io/studio-drive/${APP_OBJ[_session.app_id].app_replicate}`,
6061
+ `https://${_session.domain}/studio-drive/${
6062
+ APP_OBJ[_session.app_id].app_replicate
6063
+ }`
6064
+ );
6065
+ } catch (err) {
6066
+ return val;
6067
+ }
6065
6068
  };
6066
6069
 
6067
6070
  func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.956",
3
+ "version": "1.3.958",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {