Przeglądaj źródła

日志查询bug

hl 10 miesięcy temu
rodzic
commit
f79ac9fbb9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/web.js

+ 1 - 1
src/web.js

@@ -95,7 +95,7 @@ function init() {
             var logPath = "./logs" + port
             var logPath = "./logs" + port
             // 将相对路径转换为绝对路径
             // 将相对路径转换为绝对路径
             const directoryPath = path.resolve(logPath);
             const directoryPath = path.resolve(logPath);
-            file.checkPathSync(directoryPath)
+            // file.checkPathSync(directoryPath)
 
 
             logger.info(`日志相对地址:${logPath}`)
             logger.info(`日志相对地址:${logPath}`)
             file.getLastFile(logPath, 10, (fileNameList) => {
             file.getLastFile(logPath, 10, (fileNameList) => {