fix: align backend APIs and upload flow
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
using IM.InitCommon.Management;
|
||||
|
||||
using IdentityService.Domain.Entities;
|
||||
using IdentityService.Infrastructure;
|
||||
using IM.InitCommon;
|
||||
@@ -38,6 +39,7 @@ namespace IdentityService.WebApi
|
||||
builder.Services.AddSwaggerGen();
|
||||
|
||||
var app = builder.Build();
|
||||
if (app.ApplyMigrationsIfRequested(args)) return;
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if (app.Environment.IsDevelopment())
|
||||
@@ -47,6 +49,7 @@ namespace IdentityService.WebApi
|
||||
}
|
||||
|
||||
app.UseAppDefault();
|
||||
app.MapManagementHealth();
|
||||
|
||||
app.MapControllers();
|
||||
app.MapAllGrpcServer();
|
||||
|
||||
Reference in New Issue
Block a user