mirror of https://github.com/Jackett/Jackett
Fix for custom PirateBay url
This commit is contained in:
parent
2800bee1cb
commit
2a8b5ed6a9
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue