Merge branch 'master' of https://gitea.nxsir.cn/nanxun/IM_NEW
This commit is contained in:
@@ -30,7 +30,7 @@ namespace IM.InitCommon
|
||||
// 优先从环境变量读取
|
||||
string consulUrl =
|
||||
Environment.GetEnvironmentVariable("CONSUL_URL")
|
||||
?? "http://localhost:8500";
|
||||
?? "http://192.168.5.100:8500";
|
||||
|
||||
string consulKey = $"IM/{env.EnvironmentName}/appsettings.json";
|
||||
string serviceConsulKey = $"IM/{env.EnvironmentName}/{serviceName}/appsettings.json";
|
||||
|
||||
Reference in New Issue
Block a user