Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/src/commit/bcec14fc9bc0d47e76b3e0455d749267339f99ff/NzbDrone.Core/DataAugmentation/Scene/SceneMappingProxy.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Readarr/NzbDrone.Core/DataAugmentation/Scene/SceneMappingProxy.cs

27 lines
711 B

using System.Collections.Generic;
using NzbDrone.Common;
using NzbDrone.Common.Serializer;
namespace NzbDrone.Core.DataAugmentation.Scene
{
public interface ISceneMappingProxy
{
List<SceneMapping> Fetch();
}
public class SceneMappingProxy : ISceneMappingProxy
{
private readonly IHttpProvider _httpProvider;
public SceneMappingProxy(IHttpProvider httpProvider)
{
_httpProvider = httpProvider;
}
public List<SceneMapping> Fetch()
{
var mappingsJson = _httpProvider.DownloadString(Services.RootUrl + "/v1/SceneMapping");
return Json.Deserialize<List<SceneMapping>>(mappingsJson);
}
}
}