日志小调整

pull/434/head
王良 2025-01-13 11:59:20 +08:00
parent 19fb8e3acc
commit f1c7c6f4bb
3 changed files with 3 additions and 3 deletions

View File

@ -21,5 +21,5 @@ const config = jsonApi.parse(configJson.toString())
// const pacFilePath = '../../gui/extra/pac/pac.txt'
// config.plugin.overwall.pac.customPacFilePath = path.join(__dirname, pacFilePath)
config.setting.rootDir = path.join(__dirname, '../../gui/')
log.info(`start mitmproxy config by core: 读取配置文件: ${configPath}`)
log.info(`start mitmproxy config by cli: 读取配置文件: ${configPath}`)
server.start(config)

View File

@ -1,7 +1,7 @@
// 1个小时不访问取消获取
const net = require('node:net')
const _ = require('lodash')
const log = require('../../utils/util.log.js')
const log = require('../../utils/util.log')
const config = require('./config.js')
const DISABLE_TIMEOUT = 60 * 60 * 1000

View File

@ -1,5 +1,5 @@
const _ = require('lodash')
const log = require('../../utils/util.log.js')
const log = require('../../utils/util.log')
const config = require('./config')
const SpeedTester = require('./SpeedTester.js')