Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/acf16f6bd33c92bc7cf148778f2e87711f4d3c91/NzbDrone.Api/REST/RestResource.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/NzbDrone.Api/REST/RestResource.cs

21 lines
475 B

using System.ComponentModel;
using FluentValidation;
using Newtonsoft.Json;
namespace NzbDrone.Api.REST
{
public abstract class RestResource
{
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public int Id { get; set; }
[JsonIgnore]
public virtual string ResourceName
{
get
{
return GetType().Name.ToLower().Replace("resource", "");
}
}
}
}