Fix spring.config.additional-location default config again

pull/137/head
johnniang 2019-03-25 09:59:17 +08:00
parent 61ab4a21cb
commit c52123edc6
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ public class Application {
public static void main(String[] args) { public static void main(String[] args) {
// Customize the spring config location // Customize the spring config location
System.setProperty("spring.config.location", "classpath:/,classpath:/config/,file:./,file:./config/,file:${user.home}/halo/,file:${user.home}/halo-dev"); System.setProperty("spring.config.additional-location", "file:${user.home}/halo/,file:${user.home}/halo-dev/");
// Run application // Run application
SpringApplication.run(Application.class, args); SpringApplication.run(Application.class, args);