Commit c7b5aaff4c942ee1045e2f35709ce927a396139c
1 parent
030932a7
修改
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/ShenheApplication.java
| @@ -262,7 +262,7 @@ public class ShenheApplication extends SpringBootServletInitializer { | @@ -262,7 +262,7 @@ public class ShenheApplication extends SpringBootServletInitializer { | ||
| 262 | public static void main(String[] args) { | 262 | public static void main(String[] args) { |
| 263 | // SpringApplication.run(ShenheApplication.class, args); | 263 | // SpringApplication.run(ShenheApplication.class, args); |
| 264 | SpringApplicationBuilder builder=new SpringApplicationBuilder(ShenheApplication.class); | 264 | SpringApplicationBuilder builder=new SpringApplicationBuilder(ShenheApplication.class); |
| 265 | - builder.headless(false).run(args); | 265 | + builder.headless(true).run(args); |
| 266 | } | 266 | } |
| 267 | 267 | ||
| 268 | /** | 268 | /** |