build: 배포 환경 설정

dev
Jonguk. Lim 5 months ago
parent 8a76e5628a
commit 53fb72b1c7

@ -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