whycxzp
2025-03-01 e76c58f4c0e9c334a19c9c4418343ca99d5e3d0f
src/main/java/com/whyc/App.java
@@ -32,7 +32,7 @@
    private Integer httpPort;
    @Bean
    @ConditionalOnProperty(prefix = "spring.profiles",name = "active",havingValue = "prod-ssl")
    //@ConditionalOnProperty(prefix = "spring.profiles",name = "active",havingValue = "prod-ssl")
    public ServletWebServerFactory servletContainer() {
        TomcatServletWebServerFactory tomcat = new TomcatServletWebServerFactory();
        // 添加http