mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
nacos server本地化采用jar方式启动,简化开发
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user