修改QC统计
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-11-30 16:03:22 +08:00
parent 169b76161f
commit 56389be6a0
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -64,7 +64,7 @@ namespace IRaCIS.Core.API
{
Log.Logger.Warning($"当前部署平台环境:windows");
}
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
Log.Logger.Warning($"当前部署平台环境:linux");
}
@@ -75,10 +75,10 @@ namespace IRaCIS.Core.API
NewId.SetProcessIdProvider(new CurrentProcessIdProvider());
host.Run();
}
catch (Exception e)
@@ -106,7 +106,7 @@ namespace IRaCIS.Core.API
webBuilder.UseStartup<Startup>();
}).UseSerilog()
.UseServiceProviderFactory(new AutofacServiceProviderFactory());
}
}