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()) {