File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/main/java/com/oronaminc/join/websocket/config Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments