Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/blame/commit/dbc0c2021e802592546e766dea5d39a3103c5710/NzbDrone.Core/Configuration/ConfigRepository.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Lidarr/NzbDrone.Core/Configuration/ConfigRepository.cs

29 lines
609 B

using System.Linq;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Messaging.Events;
12 years ago
namespace NzbDrone.Core.Configuration
{
public interface IConfigRepository : IBasicRepository<Config>
{
Config Get(string key);
}
public class ConfigRepository : BasicRepository<Config>, IConfigRepository
{
public ConfigRepository(IDatabase database, IEventAggregator eventAggregator)
: base(database, eventAggregator)
{
}
public Config Get(string key)
{
return Query.SingleOrDefault(c => c.Key == key);
}
}
}