x
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
88231fffb4
commit
06ca624886
|
@ -65,7 +65,7 @@ namespace IRaCIS.Core.API
|
||||||
{
|
{
|
||||||
Log.Logger.Warning($"当前部署平台环境:windows");
|
Log.Logger.Warning($"当前部署平台环境:windows");
|
||||||
}
|
}
|
||||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
|
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
|
||||||
{
|
{
|
||||||
Log.Logger.Warning($"当前部署平台环境:linux");
|
Log.Logger.Warning($"当前部署平台环境:linux");
|
||||||
}
|
}
|
||||||
|
@ -76,10 +76,10 @@ namespace IRaCIS.Core.API
|
||||||
|
|
||||||
NewId.SetProcessIdProvider(new CurrentProcessIdProvider());
|
NewId.SetProcessIdProvider(new CurrentProcessIdProvider());
|
||||||
|
|
||||||
|
|
||||||
host.Run();
|
host.Run();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
@ -114,13 +114,13 @@ namespace IRaCIS.Core.API
|
||||||
var _repository = host.Services.GetService(typeof(IRepository)) as IRepository;
|
var _repository = host.Services.GetService(typeof(IRepository)) as IRepository;
|
||||||
|
|
||||||
//初始化 国际化数据,并且监测国际化文件变更
|
//初始化 国际化数据,并且监测国际化文件变更
|
||||||
//await InternationalizationHelper.InitInternationlizationDataAndWatchJsonFileAsync(_repository);
|
//await InternationalizationHelper.InitInternationlizationDataAndWatchJsonFileAsync(_repository);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue