diff --git a/main.go b/main.go index 4afa317..10a66b1 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ func main() { http.HandleFunc("/mod/group/addclients", withCORS(HttpHandleGroupAddClient)) http.HandleFunc("/new/message", withCORS(HttpHandleNewMessage)) http.HandleFunc("/get/groups", withCORS(HttpHandleGroupsGetWithoutMembers)) - http.HandleFunc("/get/groupmembers", withCORS(HttpHandleGroupMembersGet)) + http.HandleFunc("/get/group/members", withCORS(HttpHandleGroupMembersGet)) http.HandleFunc("/ws", ServeWsConnection) log.Println("listening on :8080")