Use URL_BASE in index mapper

pull/6/head
Mark McDowall 10 years ago
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…
Cancel
Save