瀚海黎明企业官网后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
482 B

1 year ago
  1. package org.dromara;
  2. import org.springframework.boot.builder.SpringApplicationBuilder;
  3. import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
  4. /**
  5. * web容器中进行部署
  6. *
  7. * @author Lion Li
  8. */
  9. public class DromaraServletInitializer extends SpringBootServletInitializer {
  10. @Override
  11. protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
  12. return application.sources(DromaraApplication.class);
  13. }
  14. }