@xuda.io/xuda-worker-bundle-min 1.3.246 → 1.3.248
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/index.js +5 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5608,9 +5608,12 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
|
|
|
5608
5608
|
function replaceFiletoURL(fileString) {
|
|
5609
5609
|
// const NEGATIVE_URL = `https://${_session.opt.domain}/workspace-drive/`; //func.common.get_url(SESSION_ID, "workspace-drive");
|
|
5610
5610
|
const _app = APP_OBJ[_session.APP_ID];
|
|
5611
|
-
let url = `https://${_session.
|
|
5611
|
+
let url = `https://${_session.domain}/workspace-drive/${
|
|
5612
5612
|
_app.is_deployment ? _app.app_datacenter_id : _app.app_id_reference
|
|
5613
|
-
}/`;
|
|
5613
|
+
}/`;
|
|
5614
|
+
// let url = `https://${_session.opt.domain}/workspace-drive/${
|
|
5615
|
+
// _app.is_deployment ? _app.app_datacenter_id : _app.app_id_reference
|
|
5616
|
+
// }/`;
|
|
5614
5617
|
const FILE_REPLACE_URL = `${url}${val}?token=${_session.opt.token}`;
|
|
5615
5618
|
|
|
5616
5619
|
let match = `drv_${
|