mirror of
https://github.com/Jackett/Jackett.git
synced 2025-12-15 19:46:12 +01:00
Fix for custom PirateBay url
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user