mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
add getOnline feature
This commit is contained in:
parent
415ef42b5a
commit
2366882bd6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue