|
|
@ -1,6 +1,7 @@ |
|
|
|
package org.libresonic.player.boot; |
|
|
|
package org.libresonic.player.boot; |
|
|
|
|
|
|
|
|
|
|
|
import org.directwebremoting.servlet.DwrServlet; |
|
|
|
import org.directwebremoting.servlet.DwrServlet; |
|
|
|
|
|
|
|
import org.libresonic.player.spring.AdditionalPropertySourceConfigurer; |
|
|
|
import org.springframework.boot.SpringApplication; |
|
|
|
import org.springframework.boot.SpringApplication; |
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
|
import org.springframework.boot.builder.SpringApplicationBuilder; |
|
|
|
import org.springframework.boot.builder.SpringApplicationBuilder; |
|
|
@ -40,7 +41,9 @@ public class Application extends SpringBootServletInitializer { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
public static void main(String[] args) { |
|
|
|
SpringApplication.run(Application.class, args); |
|
|
|
SpringApplication springApplication = new SpringApplication(Application.class); |
|
|
|
|
|
|
|
springApplication.addInitializers(new AdditionalPropertySourceConfigurer()); |
|
|
|
|
|
|
|
springApplication.run(args); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |