Browse Source
Merge pull request #21079 from abpframework/auto-merge/prerel-9-0/3080
Merge branch dev with prerel-9.0
pull/21080/head
maliming
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs
|
|
@ -197,8 +197,8 @@ public class AbpAspNetCoreMvcModule : AbpModule |
|
|
options.EndpointConfigureActions.Add(endpointContext => |
|
|
options.EndpointConfigureActions.Add(endpointContext => |
|
|
{ |
|
|
{ |
|
|
endpointContext.Endpoints.MapControllerRoute("defaultWithArea", "{area}/{controller=Home}/{action=Index}/{id?}"); |
|
|
endpointContext.Endpoints.MapControllerRoute("defaultWithArea", "{area}/{controller=Home}/{action=Index}/{id?}"); |
|
|
endpointContext.Endpoints.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}"); |
|
|
endpointContext.Endpoints.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}").WithStaticAssets(); |
|
|
endpointContext.Endpoints.MapRazorPages(); |
|
|
endpointContext.Endpoints.MapRazorPages().WithStaticAssets(); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|