fix: use mux.Handle(/inspect/) to match sub-paths — Zoraxy sends /inspect/some/page not /inspect

This commit is contained in:
Claus Lohmar 2026-08-07 12:46:01 +00:00
parent 62d532e2ce
commit d0f8b76154

View file

@ -57,7 +57,8 @@ func main() {
mux := http.NewServeMux()
// Static capture handler — all proxied traffic hits this.
// Static capture handler — must match sub-paths (Zoraxy sends /inspect/some/page).
mux.Handle("/inspect/", http.HandlerFunc(handleInspect))
mux.HandleFunc("/inspect", handleInspect)
// UI + config API.