We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad8010c commit c1e6a6eCopy full SHA for c1e6a6e
src/Geta.NotFoundHandler/Core/RequestHandler.cs
@@ -44,7 +44,7 @@ public virtual void Handle(HttpContext context)
44
return;
45
}
46
47
- if (context.Response.StatusCode != StatusCodes.Status404NotFound && (_configuration.ActiveStatusCodes.Any() && !_configuration.ActiveStatusCodes.Contains(context.Response.StatusCode)))
+ if (_configuration.ActiveStatusCodes.Any() && !_configuration.ActiveStatusCodes.Contains(context.Response.StatusCode))
48
{
49
LogDebug("Not a accepted statuscode.", context);
50
0 commit comments