New: Move newznab endpoint to /{id}/api

This commit is contained in:
ta264
2021-04-28 21:30:02 +01:00
committed by Qstick
parent 283d273802
commit 76c3283c05
9 changed files with 148 additions and 130 deletions
@@ -14,7 +14,7 @@ namespace NzbDrone.Core.Applications
protected readonly IAppIndexerMapService _appIndexerMapService;
protected readonly Logger _logger;
protected static readonly Regex AppIndexerRegex = new Regex(@"api\/v\d*\/indexer\/(?<indexer>\d*)",
protected static readonly Regex AppIndexerRegex = new Regex(@"(?<indexer>\d*)/api",
RegexOptions.IgnoreCase | RegexOptions.Compiled);
public abstract string Name { get; }