fix: align backend APIs and upload flow
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using IM.ASPNETCore;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using IM.InitCommon.Management;
|
||||
|
||||
namespace IM.InitCommon
|
||||
{
|
||||
@@ -9,6 +10,7 @@ namespace IM.InitCommon
|
||||
{
|
||||
app.UseCors();
|
||||
app.UseAuthentication();
|
||||
app.UseManagementRuntime();
|
||||
app.UseAuthorization();
|
||||
app.UseMiddleware<ExceptionMiddleware>();
|
||||
app.UseForwardedHeaders();
|
||||
|
||||
Reference in New Issue
Block a user