mirror of https://github.com/lidarr/Lidarr
Use URL_BASE in index mapper
This commit is contained in:
parent
51dc6be2fa
commit
76c6d9cc5b
|
@ -94,7 +94,7 @@ namespace NzbDrone.Api.Frontend.Mappers
|
||||||
text = text.Replace("APP_VERSION", BuildInfo.Version.ToString());
|
text = text.Replace("APP_VERSION", BuildInfo.Version.ToString());
|
||||||
text = text.Replace("APP_BRANCH", _configFileProvider.Branch.ToLower());
|
text = text.Replace("APP_BRANCH", _configFileProvider.Branch.ToLower());
|
||||||
text = text.Replace("APP_ANALYTICS", _analyticsService.IsEnabled.ToString().ToLowerInvariant());
|
text = text.Replace("APP_ANALYTICS", _analyticsService.IsEnabled.ToString().ToLowerInvariant());
|
||||||
text = text.Replace("URL_BASE", _configFileProvider.UrlBase);
|
text = text.Replace("URL_BASE", URL_BASE);
|
||||||
|
|
||||||
_generatedContent = text;
|
_generatedContent = text;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue