CheckStatus + UI fejlesztése
This commit is contained in:
@@ -55,6 +55,22 @@ builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
|
||||
builder.Services.AddFluentValidationSetup();
|
||||
|
||||
var app = builder.Build();
|
||||
string imageDirectory = Path.Combine(Directory.GetCurrentDirectory(), "Images");
|
||||
|
||||
//----------------- Munkakönyvtárak létrehozása -----------------------------
|
||||
if (!Directory.Exists(imageDirectory))
|
||||
{
|
||||
Directory.CreateDirectory(imageDirectory);
|
||||
}
|
||||
string pdfDirectory = Path.Combine(Directory.GetCurrentDirectory(), "Pdf");
|
||||
|
||||
// Ensure the Images directory exists
|
||||
if (!Directory.Exists(pdfDirectory))
|
||||
{
|
||||
Directory.CreateDirectory(pdfDirectory);
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
app.UseMiddleware<JwtMiddleware>();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
|
||||
Reference in New Issue
Block a user