From 1ac23562f6da7e99448ff6fa0ce20d87504486f0 Mon Sep 17 00:00:00 2001 From: JIN-076 <57834671+JIN-076@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:15:44 +0900 Subject: [PATCH] =?UTF-8?q?[BUG]=20=EC=9B=B9=20=EC=86=8C=EC=BC=93=20?= =?UTF-8?q?=ED=99=9C=EC=84=B1=ED=99=94=EB=A5=BC=20=EC=9C=84=ED=95=9C=20@En?= =?UTF-8?q?ableWebSocket=20=EC=B6=94=EA=B0=80=20(#286)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/oeid/mogakgo/core/configuration/WebSocketConfig.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/oeid/mogakgo/core/configuration/WebSocketConfig.java b/src/main/java/io/oeid/mogakgo/core/configuration/WebSocketConfig.java index 96331cf9..cf4d56f9 100644 --- a/src/main/java/io/oeid/mogakgo/core/configuration/WebSocketConfig.java +++ b/src/main/java/io/oeid/mogakgo/core/configuration/WebSocketConfig.java @@ -6,6 +6,7 @@ import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.config.ChannelRegistration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; +import org.springframework.web.socket.config.annotation.EnableWebSocket; import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker; import org.springframework.web.socket.config.annotation.StompEndpointRegistry; import org.springframework.web.socket.config.annotation.WebSocketConfigurer; @@ -14,9 +15,9 @@ @Configuration @RequiredArgsConstructor +@EnableWebSocket @EnableWebSocketMessageBroker -public class WebSocketConfig implements WebSocketMessageBrokerConfigurer, - WebSocketConfigurer { +public class WebSocketConfig implements WebSocketMessageBrokerConfigurer, WebSocketConfigurer { private final ChatInterceptor chatInterceptor; private final AchievementSocketHandler achievementSocketHandler;