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

This commit is contained in:
bakerboy448 2021-08-17 10:22:01 -05:00 committed by Qstick
parent 2cd0dde4e2
commit efb2a5751c

View file

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