fix getting unread messages, ws endpoint

This commit is contained in:
2026-04-22 14:44:10 +02:00
parent 422c4eb419
commit 5f40a47a02
7 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func main() {
http.HandleFunc("GET /file", withCORS(httpRequest.HandleAttachmentFileDownload))
http.HandleFunc("POST /message", withCORS(httpRequest.HandleDm))
http.HandleFunc("/ws", wsServer.ServeWsConnection)
http.HandleFunc("GET /ws", wsServer.ServeWsConnection)
log.Println("beep boop; server server started")
log.Fatal(http.ListenAndServe(":8080", nil))