parent
881bbb654b
commit
620359dcc6
|
@ -0,0 +1,15 @@
|
|||
using FluentMigrator;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using NzbDrone.Core.Datastore.Migration.Framework;
|
||||
|
||||
namespace NzbDrone.Core.Datastore.Migration
|
||||
{
|
||||
[Migration(152)]
|
||||
public class update_btn_url_to_https : NzbDroneMigrationBase
|
||||
{
|
||||
protected override void MainDbUpgrade()
|
||||
{
|
||||
Execute.Sql("UPDATE Indexers SET Settings = Replace(Settings, 'http://api.broadcasthe.net', 'https://api.broadcasthe.net') WHERE Implementation = 'BroadcastheNet';");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -21,7 +21,7 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
|
|||
|
||||
public BroadcastheNetSettings()
|
||||
{
|
||||
BaseUrl = "http://api.broadcasthe.net/";
|
||||
BaseUrl = "https://api.broadcasthe.net/";
|
||||
MinimumSeeders = IndexerDefaults.MINIMUM_SEEDERS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue