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;