build: 배포 환경 설정

dev
Jonguk. Lim 5 months ago
parent c76f793dbd
commit 8a76e5628a

@ -1,12 +1,12 @@
// package cokr.xit.adds;
//
// import org.springframework.boot.builder.SpringApplicationBuilder;
// import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
//
// public class ServletInitializer extends SpringBootServletInitializer {
//
// @Override
// protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
// return application.sources(XitBootApplication.class);
// }
// }
package cokr.xit.adds;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
public class ServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(XitBootApplication.class);
}
}

Loading…
Cancel
Save