diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/config/WebSocketConfig.java b/backend/services/system-setting/src/main/java/io/metersphere/system/config/WebSocketConfig.java new file mode 100644 index 0000000000..0f58480eba --- /dev/null +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/config/WebSocketConfig.java @@ -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(); + } +}