mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-09 05:22:09 +02:00
Set version header to X-Application-Version (missing hyphen)
Not sure if this is intentional or really harms anything but to be consistent with other Arr apps like Sonarr and Radarr, this changes the version header to X-Application-Version.
This commit is contained in:
parent
94ef3ea88f
commit
64c9bb4231
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ namespace Prowlarr.Http.Middleware
|
|||
{
|
||||
public class VersionMiddleware
|
||||
{
|
||||
private const string VERSIONHEADER = "X-ApplicationVersion";
|
||||
private const string VERSIONHEADER = "X-Application-Version";
|
||||
|
||||
private readonly RequestDelegate _next;
|
||||
private readonly string _version;
|
||||
|
|
|
|||
Loading…
Reference in a new issue