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