nacos server本地化采用jar方式启动,简化开发

pull/2345/head
zhangdaiscott 2021-03-09 11:10:01 +08:00
parent 064a5c4a0e
commit ad4eb300f0
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ public class JeecgNacosApplication {
public static void main(String[] args) { public static void main(String[] args) {
System.setProperty("nacos.standalone", standalone); System.setProperty("nacos.standalone", standalone);
System.setProperty("nacos.core.auth.enabled", enabled); System.setProperty("nacos.core.auth.enabled", enabled);
System.setProperty("server.tomcat.basedir","logs");
SpringApplication.run(JeecgNacosApplication.class, args); SpringApplication.run(JeecgNacosApplication.class, args);
} }
} }