middleware
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using AipsCore.Infrastructure.DI;
|
||||
using AipsWebApi.Middleware;
|
||||
using DotNetEnv;
|
||||
|
||||
Env.Load();
|
||||
@@ -21,6 +22,8 @@ if (app.Environment.IsDevelopment())
|
||||
}
|
||||
|
||||
|
||||
app.UseMiddleware<ExceptionHandlingMiddleware>();
|
||||
|
||||
app.UseAuthorization();
|
||||
|
||||
app.MapControllers();
|
||||
|
||||
Reference in New Issue
Block a user