From 7c6a095aec85cc3a7bc1111727c60abb4634f646 Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Tue, 6 Feb 2024 18:53:24 +0800 Subject: [PATCH] Remove AddHttpContextAccessor by upgrading to v8.1.1 --- NuGet.Config | 7 +++++++ TypeChatExamples/Program.cs | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 NuGet.Config diff --git a/NuGet.Config b/NuGet.Config new file mode 100644 index 0000000..d9d7b13 --- /dev/null +++ b/NuGet.Config @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/TypeChatExamples/Program.cs b/TypeChatExamples/Program.cs index 636abab..69b789c 100644 --- a/TypeChatExamples/Program.cs +++ b/TypeChatExamples/Program.cs @@ -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.