Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Commit 8e92dd6

Browse files
committed
React to Kestrel extensions
1 parent 272343c commit 8e92dd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/StaticFileSample/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ public static void Main(string[] args)
3030
{
3131
var host = new WebHostBuilder()
3232
.UseDefaultHostingConfiguration(args)
33-
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
33+
.UseKestrel()
3434
.UseIISPlatformHandlerUrl()
3535
.UseStartup<Startup>()
3636
.Build();
3737

3838
host.Run();
3939
}
4040
}
41-
}
41+
}

0 commit comments

Comments
 (0)