|
|
@ -6,7 +6,7 @@ namespace Readarr.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;
|
|
|
|