summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2024-03-26 23:52:34 +0000
committerIan C <ianc@noddybox.co.uk>2024-03-26 23:52:34 +0000
commit61695531dd941918da95170cb3ac49cf01b85035 (patch)
tree885f62bc8b37400180b68907c222d415697619aa /Program.cs
parentfc456e21c2d70854744b4e1dc816783d9820a01c (diff)
Updates. Not working version.
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs4
1 files changed, 4 insertions, 0 deletions
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();