Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/blame/commit/0f940364a3f9b114c979e88a7b5ae884e10fe9c7/NzbDrone.Core/Indexers/NewznabRepository.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using NzbDrone.Core.Datastore;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Indexers
|
|
|
|
|
{
|
|
|
|
|
public interface INewznabRepository : IBasicRepository<NewznabDefinition>
|
|
|
|
|
{
|
|
|
|
|
IEnumerable<NewznabDefinition> Enabled();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class NewznabRepository : BasicRepository<NewznabDefinition>, INewznabRepository
|
|
|
|
|
{
|
|
|
|
|
public NewznabRepository(IObjectDatabase objectDatabase) : base(objectDatabase)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IEnumerable<NewznabDefinition> Enabled()
|
|
|
|
|
{
|
|
|
|
|
return Queryable.Where(n => n.Enabled);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|