add channel set desc

This commit is contained in:
2026-05-02 13:01:14 +02:00
parent 40cb7736c2
commit cb003d235f
2 changed files with 25 additions and 0 deletions
+1
View File
@@ -83,6 +83,7 @@ func main() {
http.HandleFunc("PUT /hub/channel", withCORS(httpRequest.HandleChannelCreate))
http.HandleFunc("DELETE /hub/channel", withCORS(httpRequest.HandleChannelRemove))
http.HandleFunc("PATCH /hub/name", withCORS(httpRequest.HandleChannelSetName))
http.HandleFunc("PATCH /hub/description", withCORS(httpRequest.HandleChannelSetDescription))
http.HandleFunc("POST /connection/message", withCORS(httpRequest.HandleDm))
http.HandleFunc("GET /ws", wsServer.ServeWsConnection)