mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-11-03 19:55:28 +08:00
upgraded to vs2017
This commit is contained in:
@@ -41,11 +41,11 @@ namespace Ocelot.ManualTest
|
||||
services.AddOcelot(Configuration);
|
||||
}
|
||||
|
||||
public async void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
|
||||
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
|
||||
{
|
||||
loggerFactory.AddConsole(Configuration.GetSection("Logging"));
|
||||
|
||||
await app.UseOcelot();
|
||||
app.UseOcelot().Wait();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user