Browse Source

日志查询bug尝试修复

hl 1 year ago
parent
commit
7ac988ecbd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/robot.js
  2. 1 1
      src/web.js

+ 1 - 1
src/robot.js

@@ -519,7 +519,7 @@ function downloadFileWithLinux(url, destination, headers, funBreak) {
 }
 
 
-// 上报-状态
+// 上报-机器人状态
 function robotStatus(app) {
     var config = getRustConfig()
 

+ 1 - 1
src/web.js

@@ -35,7 +35,7 @@ function init() {
 
         var port = -1;
         robot.appMap.forEach((value, key) => {
-            logger.info(JSON.stringify(value))
+            // logger.info(JSON.stringify(value))
             if (value.id + "" === id + "") {
                 port = value.port
             }