Mini Program: setting networkTimeout in app.json is invalid

developed by WeChat Mini Programs, set

in app.json
  "networkTimeout": {
    "uploadFile": 300000
  }

but after generating the QR code, after using the mobile phone to enter Mini Program, use wx.uploadFile to upload the file or disconnect the upload after 1 minute. Return:

uploadFile:fail 

upload failed. Do you know if it needs to be set in other places besides the setting in app.json?

Feb.28,2021

is the configuration not in effect?

clipboard.png

https://developers.weixin.qq.

Menu