diff options
author | Vitaly Takmazov | 2018-03-21 11:33:25 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-21 11:33:25 +0300 |
commit | 7509917609578ef535311f5df6e1492a6357851b (patch) | |
tree | ce0ec6904cea2c045eb2c3185e511d582028b534 /juick-server/src/main/java/com/juick/server | |
parent | 5d139bd9d7b3f65453eef29ef9806c9738891f90 (diff) |
server: websocket unit testing
Diffstat (limited to 'juick-server/src/main/java/com/juick/server')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java b/juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java index 77ceb9db..ec915066 100644 --- a/juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java +++ b/juick-server/src/main/java/com/juick/server/configuration/ApiAppConfiguration.java @@ -108,7 +108,7 @@ public class ApiAppConfiguration implements WebMvcConfigurer, WebSocketConfigure @Override public void registerWebSocketHandlers(@Nonnull WebSocketHandlerRegistry registry) { - ((ServletWebSocketHandlerRegistry) registry).setOrder(Ordered.LOWEST_PRECEDENCE); + //((ServletWebSocketHandlerRegistry) registry).setOrder(Ordered.LOWEST_PRECEDENCE); registry.addHandler(wsHandler(), "/ws/**").setAllowedOrigins("*"); } |