@xuda.io/xuda-worker-bundle-min 1.3.679 → 1.3.681
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 +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6179,7 +6179,12 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
|
|
|
6179
6179
|
_app.is_deployment ? _app.app_datacenter_id : _app.app_id_reference
|
|
6180
6180
|
}/`;
|
|
6181
6181
|
|
|
6182
|
-
|
|
6182
|
+
let FILE_REPLACE_URL = `${url}${val}`;
|
|
6183
|
+
|
|
6184
|
+
if (!_app.is_deployment) {
|
|
6185
|
+
// the deployment server will handle the app_token
|
|
6186
|
+
FILE_REPLACE_URL += `?app_token=${_session.app_token}`;
|
|
6187
|
+
}
|
|
6183
6188
|
|
|
6184
6189
|
let match = `drv_${
|
|
6185
6190
|
_app.app_replicate || _session.app_id
|