mirror of
https://github.com/xweiba/location-spoofer.git
synced 2026-09-21 22:30:46 +08:00
fix: 优化启动引导、坐标处理和日志管理
This commit is contained in:
+3
-1
@@ -145,7 +145,9 @@ func newProxy(cert *tls.Certificate) *goproxy.ProxyHttpServer {
|
||||
logEvent("CONNECT " + host + " -> MITM (verify)")
|
||||
return mitmAction, host
|
||||
}
|
||||
logEvent("CONNECT " + host + " -> passthrough")
|
||||
// Global Wi-Fi proxy mode sends all HTTPS CONNECT traffic here. Logging
|
||||
// unrelated passthrough hosts creates high-volume noise and can disclose
|
||||
// browsing destinations; diagnostics only retain WLOC and verify traffic.
|
||||
return goproxy.OkConnect, host
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user