Skip to content

Commit 5e39f32

Browse files
committed
hotfix : disable sockJs
1 parent 61ea6cd commit 5e39f32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/ita/tinybite/global/config/WebSocketConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ public void configureMessageBroker(MessageBrokerRegistry registry) {
2929
public void registerStompEndpoints(StompEndpointRegistry registry) {
3030
registry.addEndpoint("/ws-chat")
3131
.setAllowedOriginPatterns("*")
32-
.setHandshakeHandler(new DefaultHandshakeHandler())
33-
.withSockJS();
32+
.setHandshakeHandler(new DefaultHandshakeHandler());
3433
}
3534

3635
@Override

0 commit comments

Comments
 (0)