WindChat/openzaly-boot/src/main/java/com/akaxin/site/boot/spring/OpenzalyConfiguration.java

21 lines
735 B
Java
Executable File

package com.akaxin.site.boot.spring;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
@EnableAutoConfiguration
public class OpenzalyConfiguration {
// @Bean
// public ConfigurableServletWebServerFactory webServerFactory() {
// TomcatServletWebServerFactory webserver = new TomcatServletWebServerFactory();
//// webserver.setPort(80822);
//// webserver.setContextPath("/akaxin");
// return webserver;
// }
}