ML implemented

This commit is contained in:
andrei-mihnea-cerbu
2024-04-12 12:25:08 +03:00
parent adba50e70b
commit 1ff7f51aa6
108 changed files with 958 additions and 131 deletions
+2 -2
View File
@@ -57,13 +57,13 @@ if (app.Environment.IsDevelopment())
}
app.UseCors("AllowAll");
app.UseHttpsRedirection();
//app.UseHttpsRedirection();
app.MapControllers();
// Middlewares
app.UseMiddleware<ApiKeyMiddleware>();
app.UseMiddleware<BodyCheckMiddleware>();
app.UseMiddleware<JwtMiddleware>();
//app.UseMiddleware<JwtMiddleware>();
using (var scope = app.Services.CreateScope())
{