@xuda.io/xuda-worker-bundle-min 1.3.679 → 1.3.680

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 +6 -1
  2. 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
- const FILE_REPLACE_URL = `${url}${val}?app_token=${_session.app_token}`;
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.679",
3
+ "version": "1.3.680",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {