diff options
author | Vitaly Takmazov | 2016-06-28 15:12:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-06-28 15:12:47 +0300 |
commit | 2d89e7882c09be7cbe82a4e5df09c23ab106be20 (patch) | |
tree | 11d4a41783504ace681a8809701bbe5241df4e8a /src/main | |
parent | f53538d230440f16948a12a34ffe587edcd0f245 (diff) |
fix handler url mapping
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java b/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java index b0393038..63ff12cb 100644 --- a/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java +++ b/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java @@ -43,6 +43,6 @@ public class WebsocketConfiguration extends WebMvcConfigurerAdapter implements W } @Override public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) { - registry.addHandler(wsHandler(), "/"); + registry.addHandler(wsHandler(), "/**"); } } |