From b497caabb23674a159dc1ef1073ba79dbe650784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Fi=C5=A1era?= Date: Thu, 11 Jun 2020 18:09:31 +0200 Subject: [PATCH] #290 - Update packages. --- src/Money.UI.Blazor/Money.UI.Blazor.csproj | 9 ++++----- src/Money.UI.Blazor/Program.cs | 3 ++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Money.UI.Blazor/Money.UI.Blazor.csproj b/src/Money.UI.Blazor/Money.UI.Blazor.csproj index 2913076a..89697a8e 100644 --- a/src/Money.UI.Blazor/Money.UI.Blazor.csproj +++ b/src/Money.UI.Blazor/Money.UI.Blazor.csproj @@ -13,11 +13,10 @@ - - - - - + + + + diff --git a/src/Money.UI.Blazor/Program.cs b/src/Money.UI.Blazor/Program.cs index f0aaa7be..9c89c922 100644 --- a/src/Money.UI.Blazor/Program.cs +++ b/src/Money.UI.Blazor/Program.cs @@ -11,6 +11,7 @@ using Neptuo.Exceptions; using System; using System.Globalization; +using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -48,7 +49,7 @@ private static void ConfigureServices(IServiceCollection services) #endif }) .AddAuthorizationCore() - .AddBaseAddressHttpClient() + .AddSingleton() .AddSingleton() .AddSingleton() .AddSingleton(provider => provider.GetRequiredService())