AAAAAAAAAAAAAAAA
continuous-integration/drone/push Build is passing Details

Signed-off-by: Sam Therapy <sam@samtherapy.net>
pull/61/head
Sam Therapy 2 months ago
parent ff7ebfc7fb
commit 1d516010c2
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD

@ -52,7 +52,7 @@ namespace BirdsiteLive
services.AddControllersWithViews();
services.AddHttpClient("BirdsiteLIVE", httpClient => {
ProductInfoHeaderValue product = new($"BirdsiteLIVE/{Program.VERSION}");
ProductInfoHeaderValue product = new("BirdsiteLIVE", $"{Program.VERSION}");
ProductInfoHeaderValue comment = new($"(+https://{Configuration["Instance:Domain"]})");
httpClient.DefaultRequestHeaders.UserAgent.Add(product);
httpClient.DefaultRequestHeaders.UserAgent.Add(comment);

Loading…
Cancel
Save