Reacting to Hosting changes
This commit is contained in:
parent
a8933e5016
commit
0aa42243a0
|
|
@ -29,7 +29,7 @@ namespace StaticFilesSample
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
Loading…
Reference in New Issue