Publishoz

This commit is contained in:
2025-04-10 08:46:41 +02:00
parent 02cef1bf23
commit 621d61e08e
6 changed files with 46 additions and 2 deletions
+6
View File
@@ -53,6 +53,11 @@ builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
});
builder.Services.AddFluentValidationSetup();
builder.WebHost.ConfigureKestrel(options =>
{
var kestrelConfig = builder.Configuration.GetSection("Kestrel");
options.Configure(kestrelConfig);
});
var app = builder.Build();
@@ -72,6 +77,7 @@ if (!Directory.Exists(pdfDirectory))
}
//---------------------------------------------------------------------------
app.UseMiddleware<JwtMiddleware>();
// Configure the HTTP request pipeline.