mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 08:47:59 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user