Skip to content

Commit

Permalink
add @EnableWebSocket
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro23 committed Oct 30, 2024
1 parent b1e5c19 commit a7dd789
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/example/demo/DemoApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.web.socket.EnableWebSocketSecurity;
import org.springframework.web.socket.config.annotation.EnableWebSocket;

@EnableWebSocket
@EnableWebSocketSecurity
@SpringBootApplication
public class DemoApplication {
Expand Down

0 comments on commit a7dd789

Please sign in to comment.