Browse Source

websocket support v3 fix 2

master
gsd 1 year ago
parent
commit
e312d82003
  1. 2
      src/main/java/app/websocket/handlers/ServersHandler.java

2
src/main/java/app/websocket/handlers/ServersHandler.java

@ -66,7 +66,7 @@ public class ServersHandler extends TextWebSocketHandler implements BaseWebsocke
push2All(
objectMapper.writeValueAsString(
new HashMap<String, HashMap>() {{
put("server", new HashMap<String, Server>(){{
put("servers", new HashMap<String, Server>(){{
put(srv, server);}});
}}));
} catch (IOException err) {

Loading…
Cancel
Save