fix websocket messaging, renamed http functions, start sending message via http

This commit is contained in:
gitGnome
2026-03-30 12:31:38 +02:00
parent 9fb5f952c5
commit 8f9503bbab
8 changed files with 200 additions and 69 deletions
+2 -2
View File
@@ -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)