mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-08 05:19:53 +00:00
add getOnline feature
This commit is contained in:
parent
415ef42b5a
commit
2366882bd6
@ -83,7 +83,7 @@ func (s *trafficStatsServerImpl) ServeHTTP(w http.ResponseWriter, r *http.Reques
|
||||
s.kick(w, r)
|
||||
return
|
||||
}
|
||||
if r.Method == http.MethodPost && r.URL.Path == "/online" {
|
||||
if r.Method == http.MethodGet && r.URL.Path == "/online" {
|
||||
s.getOnline(w, r)
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user