Skip to content

Commit 61ea6cd

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)