Disable websocket
Doesn't work on CF otherwise
This commit is contained in:
@@ -66,7 +66,8 @@ public class DiagramWebsocketServer implements WebSocketConfigurer, Initializing
|
||||
public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) {
|
||||
registry.addHandler(WsMessageHandler(), "/websocket")
|
||||
.setAllowedOrigins("*")
|
||||
.withSockJS();
|
||||
.withSockJS()
|
||||
.setWebSocketEnabled(false);
|
||||
}
|
||||
|
||||
private final String END_MESSAGE = "@end";
|
||||
|
||||
Reference in New Issue
Block a user