mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-10 01:40:29 +01:00
Fixed: Update AppIndexerRegex to support indexer ids over 100
Fixed Update AppIndexerRegex to support /api trailing (Mylar3)
This commit is contained in:
parent
efb2a5751c
commit
b54c7e220e
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ public abstract class ApplicationBase<TSettings> : IApplication
|
|||
protected readonly IAppIndexerMapService _appIndexerMapService;
|
||||
protected readonly Logger _logger;
|
||||
|
||||
protected static readonly Regex AppIndexerRegex = new Regex(@"\/(?<indexer>\d.)\/?$",
|
||||
protected static readonly Regex AppIndexerRegex = new Regex(@"\/(?<indexer>\d{1,3})(?:\/(?:api)?\/?)?$",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled);
|
||||
|
||||
public abstract string Name { get; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue