commit 增加webSocket

pull/2/head
咱哥丶 2023-01-02 23:09:10 +08:00
parent b77a52a4a8
commit a9aaac39e8
1 changed files with 2 additions and 5 deletions

View File

@ -6,14 +6,11 @@ import org.springframework.web.socket.server.standard.ServerEndpointExporter;
/** /**
* websocket * websocket
*
*/ */
@Configuration @Configuration
public class WebSocketConfig public class WebSocketConfig {
{
@Bean @Bean
public ServerEndpointExporter serverEndpointExporter() public ServerEndpointExporter serverEndpointExporter() {
{
return new ServerEndpointExporter(); return new ServerEndpointExporter();
} }
} }