From 049601a6fb6f9e3308ee36f8abada6cdf5e228ee Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Fri, 11 Aug 2023 16:32:29 +0100 Subject: [PATCH] fix: remove explicit routing --- OliverBooth/Program.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/OliverBooth/Program.cs b/OliverBooth/Program.cs index 963b0f3..be3b381 100644 --- a/OliverBooth/Program.cs +++ b/OliverBooth/Program.cs @@ -80,8 +80,6 @@ app.UseRouting(); app.UseAuthorization(); app.MapControllers(); -app.MapControllerRoute("scoped", "{area:exists}/{controller=Home}/{action=Index}/{id?}"); -app.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}"); app.MapRazorPages(); app.MapRssFeed("/blog/feed");