diff --git a/bin/tsw/util/auto-report/logReport.js b/bin/tsw/util/auto-report/logReport.js index a143e776..c1e2dd23 100644 --- a/bin/tsw/util/auto-report/logReport.js +++ b/bin/tsw/util/auto-report/logReport.js @@ -696,7 +696,7 @@ module.exports.reportLog = function() { try { // webapp的二进制回包转成可视化的结构 - if (!isWebSocket && res._body && res.getHeader('content-type') === 'webapp') { + if (!isWebSocket && res._body && res.getHeader('content-type') === 'webapp') { // 不要用_headers了 res._body = Buffer.from(format.formatBuffer(res._body)); }