Fix for custom PirateBay url

This commit is contained in:
unknown 2015-07-11 11:00:44 -06:00
parent 2800bee1cb
commit 2a8b5ed6a9
1 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ namespace Jackett.Indexers
public ThePirateBay()
{
BaseUrl = DefaultUrl;
IsConfigured = false;
cookies = new CookieContainer();
handler = new HttpClientHandler
@ -53,7 +54,7 @@ namespace Jackett.Indexers
public Task<ConfigurationData> GetConfigurationForSetup()
{
var config = new ConfigurationDataUrl(DefaultUrl);
var config = new ConfigurationDataUrl(BaseUrl);
return Task.FromResult<ConfigurationData>(config);
}