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
@@ -11,7 +11,7 @@ cleanup() { kill 0 2>/dev/null || true; }
trap cleanup EXIT INT TERM
# 后端(普通 go run,不内嵌前端);并发 work agent 数在「系统设置」里配置。
go run ./cmd/artex -addr :8787 -proxy :8788 &
go run ./cmd/artex -addr :8787 -proxy 127.0.0.1:8788 &
# 前端热更新(Vite/Next dev server,/api 反代到 :8787)。
( cd web && npm run dev ) &