feat: show current best exit state

This commit is contained in:
sagitchu
2026-05-01 13:30:46 +08:00
parent d98377a297
commit e5acc49186
5 changed files with 806 additions and 30 deletions
@@ -475,6 +475,7 @@ func (h *Handler) tunnelList(w http.ResponseWriter, r *http.Request) {
response.WriteJSON(w, response.Err(-2, err.Error()))
return
}
h.attachBestExitStates(items)
response.WriteJSON(w, response.OK(items))
}