🐛 Bug fixes with ws controller

This commit is contained in:
2025-08-13 17:32:13 +08:00
parent f8d8e485f1
commit 4b66e97bda

View File

@@ -45,7 +45,7 @@ public class WebSocketController(WebSocketService ws, ILogger<WebSocketContext>
Type = "error.dupe", Type = "error.dupe",
ErrorMessage = "Too many connections from the same device and account." ErrorMessage = "Too many connections from the same device and account."
}.ToBytes()), }.ToBytes()),
WebSocketMessageType.Close, WebSocketMessageType.Binary,
true, true,
CancellationToken.None CancellationToken.None
); );