Skip to content

Commit a17b031

Browse files
author
claudiamurialdo
committed
Add route attribute to HomeController for default route handling
1 parent aa78d30 commit a17b031

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dotnet/src/dotnetcore/GxNetCoreStartup/Startup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,7 @@ public static IApplicationBuilder UseEnableRequestRewind(this IApplicationBuilde
830830
return builder.UseMiddleware<EnableRequestRewindMiddleware>();
831831
}
832832
}
833+
[Route("")]
833834
public class HomeController : Controller
834835
{
835836
public IActionResult Index()

0 commit comments

Comments
 (0)