Stats API Url Fixed (#338)

* Fixed the API call by removing baseAddress and performing concatination in real time
This commit is contained in:
Joseph Milazzo 2021-06-25 15:08:55 -05:00 committed by GitHub
parent be56b33baf
commit 6b645737fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -16,7 +16,6 @@ namespace API.Extensions
{
services.AddHttpClient<StatsApiClient>(client =>
{
client.BaseAddress = new Uri("https://stats.kavitareader.com");
client.DefaultRequestHeaders.Add("api-key", "MsnvA2DfQqxSK5jh");
});