summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
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();