diff options
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();
|