Fixed: (Mylar3) Indexer Host needs to include trailing /api

pull/440/head
bakerboy448 3 years ago committed by Qstick
parent 2cd0dde4e2
commit efb2a5751c

@ -141,7 +141,7 @@ namespace NzbDrone.Core.Applications.Mylar
{ {
Name = originalName ?? $"{indexer.Name} (Prowlarr)", Name = originalName ?? $"{indexer.Name} (Prowlarr)",
Altername = $"{indexer.Name} (Prowlarr)", Altername = $"{indexer.Name} (Prowlarr)",
Host = $"{Settings.ProwlarrUrl.TrimEnd('/')}/{indexer.Id}", Host = $"{Settings.ProwlarrUrl.TrimEnd('/')}/{indexer.Id}/api",
Apikey = _configFileProvider.ApiKey, Apikey = _configFileProvider.ApiKey,
Categories = string.Join(",", indexer.Capabilities.Categories.SupportedCategories(Settings.SyncCategories.ToArray())), Categories = string.Join(",", indexer.Capabilities.Categories.SupportedCategories(Settings.SyncCategories.ToArray())),
Enabled = indexer.Enable, Enabled = indexer.Enable,

Loading…
Cancel
Save