Skip to content

Commit 61ea6cd

Browse files
committed
hotfix : enable sockJs
1 parent 4952d39 commit 61ea6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void registerStompEndpoints(StompEndpointRegistry registry) {
3030
registry.addEndpoint("/ws-chat")
3131
.setAllowedOriginPatterns("*")
3232
.setHandshakeHandler(new DefaultHandshakeHandler())
33-
;
33+
.withSockJS();
3434
}
3535

3636
@Override

0 commit comments

Comments
 (0)