1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-25 07:12:40 +00:00

Update version header to X-Application-Version

This makes the version header consistent across Sonarr, Radarr, Prowlarr
This commit is contained in:
James White 2022-02-09 20:50:57 +00:00 committed by Robin Dadswell
parent 86904ef80b
commit 976e8d24bd

View file

@ -6,7 +6,7 @@ namespace Lidarr.Http.Middleware
{ {
public class VersionMiddleware public class VersionMiddleware
{ {
private const string VERSIONHEADER = "X-ApplicationVersion"; private const string VERSIONHEADER = "X-Application-Version";
private readonly RequestDelegate _next; private readonly RequestDelegate _next;
private readonly string _version; private readonly string _version;