We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd2a829 + 0ead8e8 commit 3bf585eCopy full SHA for 3bf585e
backend/src/main/java/com/deliveranything/global/config/WebSocketConfig.java
@@ -30,11 +30,13 @@
30
import org.springframework.security.core.Authentication;
31
import org.springframework.security.core.GrantedAuthority;
32
import org.springframework.security.core.userdetails.UserDetails;
33
+import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker;
34
import org.springframework.web.socket.config.annotation.StompEndpointRegistry;
35
import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer;
36
37
@Slf4j
38
@Configuration
39
+@EnableWebSocketMessageBroker
40
@RequiredArgsConstructor
41
public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
42
0 commit comments