Skip to content

Commit e517232

Browse files
authored
Merge branch 'release' into dev
2 parents 4ab7101 + 1c6bcae commit e517232

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,17 @@ public void registerStompEndpoints(StompEndpointRegistry registry) {
5050
registry.addEndpoint("/ws")
5151
.setAllowedOriginPatterns("*")
5252
// websocket 연결 전 쿠키 체크
53-
.addInterceptors(new HttpSessionHandshakeInterceptor())
53+
// .addInterceptors(new HttpSessionHandshakeInterceptor())
5454
// websocket 연결 후 principal 생성
55-
.setHandshakeHandler(handshakeHandler)
55+
// .setHandshakeHandler(handshakeHandler)
5656
.withSockJS();
5757

5858
// registry.addEndpoint("/ws")
5959
// .setAllowedOriginPatterns("*")
6060
// .addInterceptors(new HttpSessionHandshakeInterceptor())
6161
// .setHandshakeHandler(handshakeHandler)
62-
;
62+
63+
//;
6364

6465
registry.setErrorHandler(stompErrorHandler);
6566
}

0 commit comments

Comments
 (0)