fix(traffic): 流量录制代理默认只监听 127.0.0.1,避免默认开放代理暴露 (#129) (#130)

This commit is contained in:
dingpotian authored and GitHub committed 2026-09-16 09:36:32 +08:00
1 parent 7f71f77d16
commit 80a085d157
5 files changed
+32 -5

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ func run() int {
var (
addr = flag.String("addr", ":8787", "HTTP listen address")
dataDir = flag.String("data", filepath.Join(config.BaseDir(), "data"), "data directory for SQLite stores (default: data/ next to the executable)")
proxy = flag.String("proxy", ":8788", "traffic recording proxy address (empty to disable)")
proxy = flag.String("proxy", "127.0.0.1:8788", "traffic recording proxy address (empty to disable)")
)
flag.Parse()