kaiyu
2020-10-21 23bdc88d7c2f871711a781ba94b776d629b02702
src/main/java/com/moral/config/WebSocketConfig.java
@@ -11,13 +11,12 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
@Configuration
public class WebSocketConfig {
    //本地测试需要将注释解开
/*    @Bean
    /*@Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }*/