diff --git a/adapters/platforms/wechat/res/workers/fs-utils-sync.js b/adapters/platforms/wechat/res/workers/fs-utils-sync.js index 5e5a6517..ac7bd7c9 100644 --- a/adapters/platforms/wechat/res/workers/fs-utils-sync.js +++ b/adapters/platforms/wechat/res/workers/fs-utils-sync.js @@ -68,6 +68,9 @@ var fsUtils = { downloadFile(remoteUrl, filePath, header, onProgress, onComplete) { var options = { url: remoteUrl, + useHighPerformanceMode: true, + enableHttp2: true, + enableQuic: true, success: function (res) { if (res.statusCode === 200) { onComplete && onComplete(null, res.tempFilePath || res.filePath);