mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-08-03 03:17:59 +08:00
Update Program.cs
Solving the problems that project cannot be run on IIS.
This commit is contained in:
@ -16,8 +16,8 @@ namespace Ocelot.ManualTest
|
|||||||
|
|
||||||
builder.UseKestrel()
|
builder.UseKestrel()
|
||||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||||
.UseStartup<Startup>();
|
.UseIISIntegration()
|
||||||
|
.UseStartup<Startup>();
|
||||||
var host = builder.Build();
|
var host = builder.Build();
|
||||||
|
|
||||||
host.Run();
|
host.Run();
|
||||||
|
Reference in New Issue
Block a user