Compare commits

...

2 Commits

Author SHA1 Message Date
David Wood
22ce373c25
Merge ac9e9f72820ec44173f4f8cc47a36645c4abff61 into 0b25119c52bccdbc8bb71a74c86e1f7fd57b21d3 2024-12-25 17:05:06 +08:00
David Wood
ac9e9f7282
chore: fix function name in comment 2024-10-21 14:45:15 +08:00

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)