Add HttpClient registration to DI container
Added a call to `services.AddHttpClient();` in the `DependencyInjection` class within `DependencyInjection.cs`. This change registers the `HttpClient` service in the dependency injection container, allowing the application to use managed `HttpClient` instances.
This commit is contained in:
parent
7c00060f74
commit
1e35e4a057
@ -22,6 +22,8 @@ public static class DependencyInjection
|
||||
cfg.LicenseKey = configOpt.LuckyPennySoftwareLicenseKey;
|
||||
});
|
||||
|
||||
services.AddHttpClient();
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user