This commit is contained in:
@@ -47,6 +47,9 @@ if (string.IsNullOrWhiteSpace(enviromentName))
|
||||
}
|
||||
#endregion
|
||||
|
||||
// Serilog
|
||||
SerilogExtension.AddSerilogSetup(enviromentName);
|
||||
|
||||
var builder = WebApplication.CreateBuilder(new WebApplicationOptions
|
||||
{
|
||||
EnvironmentName = enviromentName
|
||||
@@ -131,8 +134,6 @@ builder.Services.AddDicomSetup();
|
||||
builder.Services.AddSignalR();
|
||||
|
||||
|
||||
|
||||
|
||||
//// 添加反伪造服务
|
||||
//builder.Services.AddAntiforgery(options =>
|
||||
//{
|
||||
@@ -242,10 +243,6 @@ app.MapHealthChecks("/health");
|
||||
|
||||
|
||||
|
||||
// Serilog
|
||||
SerilogExtension.AddSerilogSetup(enviromentName, app.Services);
|
||||
|
||||
|
||||
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user