mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 19:40:05 -07:00
Added a default user agent on all API calls
This commit is contained in:
parent
7c56c98288
commit
487675b035
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ namespace Ombi.Api
|
|||
_handler = await GetHandler();
|
||||
}
|
||||
_client = new HttpClient(_handler);
|
||||
_client.DefaultRequestHeaders.Add("User-Agent","Ombi");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue