refactor: websocket config

This commit is contained in:
CaptainB 2024-01-30 20:38:48 +08:00 committed by 刘瑞斌
parent 97ece4ad80
commit 95a497938c
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package io.metersphere.system.config;
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
public ServerEndpointExporter serverEndpointExporter() {
return new ServerEndpointExporter();
}
}