mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 22:08:17 +08:00
Updated packages (#1133)
* Upgrading nugets * doc changes * more changes to remove warnings * one more fix * one more fix * forcing the build
This commit is contained in:
@ -15,9 +15,9 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Ocelot" Version="13.5.1" />
|
||||
<PackageReference Include="Ocelot.Provider.Eureka" Version="13.5.1" />
|
||||
<PackageReference Include="Ocelot.Provider.Polly" Version="13.5.1" />
|
||||
<PackageReference Include="Ocelot" Version="14.0.9" />
|
||||
<PackageReference Include="Ocelot.Provider.Eureka" Version="14.0.9" />
|
||||
<PackageReference Include="Ocelot.Provider.Polly" Version="14.0.9" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -11,6 +11,7 @@ using Microsoft.Extensions.Options;
|
||||
|
||||
namespace DownstreamService
|
||||
{
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Steeltoe.Discovery.Client;
|
||||
|
||||
public class Startup
|
||||
@ -30,7 +31,7 @@ namespace DownstreamService
|
||||
}
|
||||
|
||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||
{
|
||||
if (env.IsDevelopment())
|
||||
{
|
||||
|
Reference in New Issue
Block a user