CheckStatus + UI fejlesztése

This commit is contained in:
2025-03-31 15:20:16 +02:00
parent 7996f887ba
commit a7e913b3ee
7 changed files with 117 additions and 42 deletions
+16
View File
@@ -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.