Merge ac9e9f72820ec44173f4f8cc47a36645c4abff61 into 0b25119c52bccdbc8bb71a74c86e1f7fd57b21d3

This commit is contained in:
David Wood 2024-12-25 17:05:06 +08:00 committed by GitHub
commit 22ce373c25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -528,7 +528,7 @@ func (clients *clientsContainer) findRuntime(ip netip.Addr, idStr string) (cj *c
return cj
}
// RegisterClientsHandlers registers HTTP handlers
// registerWebHandlers registers HTTP handlers
func (clients *clientsContainer) registerWebHandlers() {
httpRegister(http.MethodGet, "/control/clients", clients.handleGetClients)
httpRegister(http.MethodPost, "/control/clients/add", clients.handleAddClient)