From 61695531dd941918da95170cb3ac49cf01b85035 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 26 Mar 2024 23:52:34 +0000 Subject: Updates. Not working version. --- Program.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Program.cs') diff --git a/Program.cs b/Program.cs index 1b97a78..a205fe2 100644 --- a/Program.cs +++ b/Program.cs @@ -1,3 +1,5 @@ +using download; + var builder = WebApplication.CreateBuilder(args); builder.Services.AddControllersWithViews(); @@ -13,4 +15,6 @@ app.UseAuthorization(); app.MapControllerRoute(name: "default", pattern: "{controller=Api}/{action=Get}/{key}"); +Config.Settings = app.Configuration; + app.Run(); -- cgit v1.2.3