parent
33b7d81dd9
commit
2ad8ec005c
@ -0,0 +1,23 @@ |
|||||||
|
package org.libresonic.player.boot; |
||||||
|
|
||||||
|
import org.springframework.boot.SpringApplication; |
||||||
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
||||||
|
import org.springframework.boot.builder.SpringApplicationBuilder; |
||||||
|
import org.springframework.boot.web.support.SpringBootServletInitializer; |
||||||
|
|
||||||
|
@SpringBootApplication |
||||||
|
public class Application extends SpringBootServletInitializer { |
||||||
|
|
||||||
|
@Override |
||||||
|
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { |
||||||
|
// Customize the application or call application.sources(...) to add sources
|
||||||
|
// Since our example is itself a @Configuration class (via @SpringBootApplication)
|
||||||
|
// we actually don't need to override this method.
|
||||||
|
return application; |
||||||
|
} |
||||||
|
|
||||||
|
public static void main(String[] args) { |
||||||
|
SpringApplication.run(Application.class, args); |
||||||
|
} |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue