File tree Expand file tree Collapse file tree 3 files changed +0
-90
lines changed
src/main/java/cmf/commitField
domain/noti/noti/controller Expand file tree Collapse file tree 3 files changed +0
-90
lines changed Original file line number Diff line number Diff line change 11package cmf .commitField .domain .noti .noti .controller ;
22
33import cmf .commitField .domain .noti .noti .dto .NotiDto ;
4- import cmf .commitField .domain .noti .noti .event .NotiEvent ;
54import cmf .commitField .domain .noti .noti .service .NotiService ;
65import cmf .commitField .domain .user .entity .User ;
76import cmf .commitField .domain .user .repository .UserRepository ;
87import cmf .commitField .global .error .ErrorCode ;
98import cmf .commitField .global .exception .CustomException ;
109import cmf .commitField .global .globalDto .GlobalResponse ;
11- import cmf .commitField .global .websocket .NotiWebSocketHandler ;
1210import lombok .RequiredArgsConstructor ;
1311import lombok .extern .slf4j .Slf4j ;
1412import org .springframework .context .ApplicationEventPublisher ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212public class WebSocketConfig implements WebSocketConfigurer {
1313
1414 private final ChatWebSocketHandler chatWebSocketHandler ;
15- private final NotiWebSocketHandler notiWebSocketHandler ;
1615
1716 @ Override
1817 public void registerWebSocketHandlers (WebSocketHandlerRegistry registry ) {
1918 // ์ฑํ
์น์์ผ ํธ๋ค๋ฌ ๋ฑ๋ก
2019 registry .addHandler (chatWebSocketHandler , "/chat-rooms" )
2120 .setAllowedOrigins ("*" ); // CORS ์ค์ , ์ค์ ํ๊ฒฝ์์๋ ๋ณด์์ ์ํด ์ ํ์ ์ผ๋ก ์ค์ ํด์ผ ํจ
22-
23- // ์๋ฆผ ์น์์ผ ํธ๋ค๋ฌ ๋ฑ๋ก
24- // registry.addHandler(notiWebSocketHandler, "/notifications")
25- // .setAllowedOrigins("*");
2621 }
2722}
You canโt perform that action at this time.
0 commit comments