Skip to content

Commit

Permalink
日志小调整
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Jan 13, 2025
1 parent 19fb8e3 commit f1c7c6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/mitmproxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion packages/mitmproxy/src/lib/speed/SpeedTester.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/mitmproxy/src/lib/speed/index.js
Original file line number Diff line number Diff line change
@@ -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')

Expand Down

0 comments on commit f1c7c6f

Please sign in to comment.