diff --git a/ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/CustomizationBean.java b/ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/UndertowConfig.java similarity index 91% rename from ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/CustomizationBean.java rename to ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/UndertowConfig.java index 354cf85e..fec461d9 100644 --- a/ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/CustomizationBean.java +++ b/ruoyi-common/ruoyi-common-web/src/main/java/com/ruoyi/common/web/config/UndertowConfig.java @@ -12,7 +12,7 @@ import org.springframework.context.annotation.Configuration; * @author Lion Li */ @Configuration -public class CustomizationBean implements WebServerFactoryCustomizer { +public class UndertowConfig implements WebServerFactoryCustomizer { /** * 设置 Undertow 的 websocket 缓冲池 diff --git a/ruoyi-common/ruoyi-common-web/src/main/resources/META-INF/spring.factories b/ruoyi-common/ruoyi-common-web/src/main/resources/META-INF/spring.factories index dd9e5079..a6fc05d6 100644 --- a/ruoyi-common/ruoyi-common-web/src/main/resources/META-INF/spring.factories +++ b/ruoyi-common/ruoyi-common-web/src/main/resources/META-INF/spring.factories @@ -1,3 +1,3 @@ org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ com.ruoyi.common.web.config.I18nConfig,\ - com.ruoyi.common.web.config.CustomizationBean + com.ruoyi.common.web.config.UndertowConfig