mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-11-14 14:39:29 +08:00
🎉 取消默认设置的nacos地址信息支持灵活自定义
This commit is contained in:
parent
3468b0f694
commit
edc1f5d138
@ -95,8 +95,6 @@ public class BladeApplication {
|
||||
props.setProperty("blade.dev-mode", profile.equals(AppConstant.PROD_CODE) ? "false" : "true");
|
||||
props.setProperty("blade.service.version", AppConstant.APPLICATION_VERSION);
|
||||
props.setProperty("spring.main.allow-bean-definition-overriding", "true");
|
||||
props.setProperty("spring.cloud.nacos.discovery.server-addr", NacosConstant.NACOS_ADDR);
|
||||
props.setProperty("spring.cloud.nacos.config.server-addr", NacosConstant.NACOS_ADDR);
|
||||
props.setProperty("spring.cloud.nacos.config.prefix", NacosConstant.NACOS_CONFIG_PREFIX);
|
||||
props.setProperty("spring.cloud.nacos.config.file-extension", NacosConstant.NACOS_CONFIG_FORMAT);
|
||||
props.setProperty("spring.cloud.sentinel.transport.dashboard", SentinelConstant.SENTINEL_ADDR);
|
||||
|
Loading…
Reference in New Issue
Block a user