Fixed: Application mapping regex fails

This commit is contained in:
Qstick 2021-07-30 21:22:41 -04:00
parent 841ff7b6ee
commit f97c3ff9bd

View file

@ -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*)/api",
protected static readonly Regex AppIndexerRegex = new Regex(@"\/(?<indexer>\d.)\/",
RegexOptions.IgnoreCase | RegexOptions.Compiled);
public abstract string Name { get; }