Skip to content

Commit 9dcf37a

Browse files
committed
Update Startup.cs
1 parent 97c46cb commit 9dcf37a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

YAF.SampleApp/Startup.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public void ConfigureServices(IServiceCollection services)
7777

7878
services.AddYafCore(this.Configuration);
7979

80+
// only needed for blazor
8081
services.AddServerSideBlazor();
8182
}
8283

@@ -123,8 +124,8 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
123124
{
124125
endpoints.MapRazorPages();
125126

127+
// only needed for blazor
126128
endpoints.MapBlazorHub();
127-
128129
endpoints.MapFallbackToPage("/_Host");
129130

130131
endpoints.MapAreaControllerRoute(

0 commit comments

Comments
 (0)