Skip to content

Commit 4ab7101

Browse files
authored
Refactor/101 room detail (#120)
* feat: cors 설정 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 웹소켓 * 인터셉터, 핸들러 재추가 * 핸들러 다시 추가 * 핸들러 다시 주석 * sockjs만 살리기
1 parent a4c92d4 commit 4ab7101

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public void registerStompEndpoints(StompEndpointRegistry registry) {
5555
.setHandshakeHandler(handshakeHandler)
5656
.withSockJS();
5757

58-
registry.addEndpoint("/ws")
59-
.setAllowedOriginPatterns("*")
58+
// registry.addEndpoint("/ws")
59+
// .setAllowedOriginPatterns("*")
6060
// .addInterceptors(new HttpSessionHandshakeInterceptor())
6161
// .setHandshakeHandler(handshakeHandler)
6262
;

0 commit comments

Comments
 (0)