Change redirect type to 301 (Perm)

This commit is contained in:
Qstick
2021-03-02 00:36:00 -05:00
parent 9944484658
commit 1c1144f8c5
2 changed files with 4 additions and 4 deletions
@@ -1,4 +1,4 @@
using Nancy;
using Nancy;
using Nancy.ErrorHandling;
using Prowlarr.Http.Extensions;
@@ -13,7 +13,7 @@ namespace Prowlarr.Http.ErrorManagement
public void Handle(HttpStatusCode statusCode, NancyContext context)
{
if (statusCode == HttpStatusCode.SeeOther || statusCode == HttpStatusCode.OK)
if (statusCode == HttpStatusCode.SeeOther || statusCode == HttpStatusCode.MovedPermanently || statusCode == HttpStatusCode.OK)
{
return;
}