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
parent
commit
1162b76ad9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs

4
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();
}); });
}); });

Loading…
Cancel
Save