diff options
author | Ian C <ianc@noddybox.co.uk> | 2024-03-26 23:52:34 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2024-03-26 23:52:34 +0000 |
commit | 61695531dd941918da95170cb3ac49cf01b85035 (patch) | |
tree | 885f62bc8b37400180b68907c222d415697619aa /Program.cs | |
parent | fc456e21c2d70854744b4e1dc816783d9820a01c (diff) |
Updates. Not working version.
Diffstat (limited to 'Program.cs')
-rw-r--r-- | Program.cs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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();
|