@xuda.io/xuda-worker-bundle-min 1.3.531 → 1.3.533

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 +9 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6109,9 +6109,15 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
6109
6109
  var _session = SESSION_OBJ[SESSION_ID];
6110
6110
  function replaceFiletoURL(fileString) {
6111
6111
  const _app = APP_OBJ[_session.APP_ID];
6112
- let url = `https://${
6113
- _session.opt.regional_server === "dev.xuda.io" ? "dev.xuda.io" : "xuda.io"
6114
- }/workspace-drive/${
6112
+ let _domain = _session.domain;
6113
+ if (_session.is_deployment) {
6114
+ _domain =
6115
+ _session.opt.regional_server === "dev.xuda.io"
6116
+ ? "dev.xuda.io"
6117
+ : "xuda.io";
6118
+ }
6119
+
6120
+ let url = `https://${_domain}/workspace-drive/${
6115
6121
  _app.is_deployment ? _app.app_datacenter_id : _app.app_id_reference
6116
6122
  }/`;
6117
6123
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.531",
3
+ "version": "1.3.533",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {