fix websocket messaging, renamed http functions, start sending message via http
This commit is contained in:
@@ -18,8 +18,8 @@ func main() {
|
||||
DbInit(ctx)
|
||||
|
||||
http.HandleFunc("/new/client", withCORS(HttpHandleNewUser))
|
||||
http.HandleFunc("/new/token", withCORS(HttpHandleLogin))
|
||||
http.HandleFunc("/new/group", withCORS(HttpHandleGroupCreate))
|
||||
http.HandleFunc("/new/token", withCORS(HttpHandleNewToken))
|
||||
http.HandleFunc("/new/group", withCORS(HttpHandeNewGroup))
|
||||
http.HandleFunc("/mod/group/addclients", withCORS(HttpHandleGroupAddClient))
|
||||
http.HandleFunc("/ws", ServeWsConnection)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user