Update Program.cs

Solving the problems that project cannot be run on IIS.
This commit is contained in:
yuchen1030 2017-10-26 20:11:14 +08:00 committed by GitHub
parent 5ac6ae662b
commit ed94764420

View File

@ -16,8 +16,8 @@ namespace Ocelot.ManualTest
builder.UseKestrel() builder.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory()) .UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>(); .UseStartup<Startup>();
var host = builder.Build(); var host = builder.Build();
host.Run(); host.Run();