Skip to content

Commit 9ece1cc

Browse files
committed
웹소켓
1 parent ea7a869 commit 9ece1cc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main/java/com/oronaminc/join/websocket/config/WebSocketConfig.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ public void registerStompEndpoints(StompEndpointRegistry registry) {
5252
// .setHandshakeHandler(handshakeHandler)
5353
.withSockJS();
5454

55-
// registry.addEndpoint("/ws")
56-
// .setAllowedOriginPatterns("*")
57-
// .addInterceptors(new HttpSessionHandshakeInterceptor())
58-
// .setHandshakeHandler(handshakeHandler);
55+
registry.addEndpoint("/ws")
56+
.setAllowedOriginPatterns("*")
57+
// .addInterceptors(new HttpSessionHandshakeInterceptor())
58+
// .setHandshakeHandler(handshakeHandler)
59+
;
5960

6061
registry.setErrorHandler(stompErrorHandler);
6162
}

0 commit comments

Comments
 (0)