Skip to content

Commit

Permalink
Remove AddHttpContextAccessor by upgrading to v8.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 6, 2024
1 parent 4b309be commit 7c6a095
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 7 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="ServiceStack MyGet feed" value="https://www.myget.org/F/servicestack" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
3 changes: 0 additions & 3 deletions TypeChatExamples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
});
});

// Add HttpContextAccessor so we can access the current HttpContext in Services
builder.Services.AddHttpContextAccessor();

var app = builder.Build();

// Configure the HTTP request pipeline.
Expand Down

0 comments on commit 7c6a095

Please sign in to comment.