Publishoz
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user