ML implemented
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user