mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-02-24 05:00:33 +08:00
19 lines
495 B
Java
19 lines
495 B
Java
|
package com.ruoyi;
|
||
|
|
||
|
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||
|
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
||
|
|
||
|
/**
|
||
|
* web容器中进行部署
|
||
|
*
|
||
|
* @author ruoyi
|
||
|
*/
|
||
|
public class RuoYiServletInitializer extends SpringBootServletInitializer
|
||
|
{
|
||
|
@Override
|
||
|
protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
|
||
|
{
|
||
|
return application.sources(RuoYiApplication.class);
|
||
|
}
|
||
|
}
|