|
|
@ -157,11 +157,11 @@ namespace MyCompanyName.MyProjectName |
|
|
app.UseRouting(); |
|
|
app.UseRouting(); |
|
|
app.UseCors(DefaultCorsPolicyName); |
|
|
app.UseCors(DefaultCorsPolicyName); |
|
|
app.UseAuthentication(); |
|
|
app.UseAuthentication(); |
|
|
app.UseAuthorization(); |
|
|
|
|
|
if (MultiTenancyConsts.IsEnabled) |
|
|
if (MultiTenancyConsts.IsEnabled) |
|
|
{ |
|
|
{ |
|
|
app.UseMultiTenancy(); |
|
|
app.UseMultiTenancy(); |
|
|
} |
|
|
} |
|
|
|
|
|
app.UseAuthorization(); |
|
|
app.UseAbpRequestLocalization(); |
|
|
app.UseAbpRequestLocalization(); |
|
|
app.UseSwagger(); |
|
|
app.UseSwagger(); |
|
|
app.UseSwaggerUI(options => |
|
|
app.UseSwaggerUI(options => |
|
|
|