From eabba7f27c7846a0f0d8eff8db8c2db1d4f3c52a Mon Sep 17 00:00:00 2001 From: malimova Date: Fri, 3 May 2024 20:16:28 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=82=D1=80=D0=B5=D0=B4=D0=B0=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=20Program.cs,=20"=D0=BF=D0=BE=D1=81=D0=BB=D0=B5?= =?UTF-8?q?=D0=B4=D0=BD=D0=B8=D0=B9=20=D1=88=D1=82=D1=80=D0=B8=D1=85"=20(?= =?UTF-8?q?=D0=BD=D0=BE=20=D1=8F=20=D1=8D=D1=82=D0=BE=D0=BC=D1=83=20=D0=BD?= =?UTF-8?q?=D0=B5=20=D0=B2=D0=B5=D1=80=D1=8E)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Confectionery/ConfectioneryClientApp/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Confectionery/ConfectioneryClientApp/Program.cs b/Confectionery/ConfectioneryClientApp/Program.cs index 559dd3a..f8059b7 100644 --- a/Confectionery/ConfectioneryClientApp/Program.cs +++ b/Confectionery/ConfectioneryClientApp/Program.cs @@ -1,3 +1,5 @@ +using ConfectioneryClientApp; + var builder = WebApplication.CreateBuilder(args); // Add services to the container. @@ -5,6 +7,8 @@ builder.Services.AddControllersWithViews(); var app = builder.Build(); +APIClient.Connect(builder.Configuration); + // Configure the HTTP request pipeline. if (!app.Environment.IsDevelopment()) {