From e2ee7e36e3da06980a8cca314f25a9390db37d05 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 29 Jun 2014 13:05:33 -0700 Subject: [PATCH] Fixed: Viewing log files with URL Base enabled --- src/NzbDrone.Api/Logs/LogFileModuleBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Api/Logs/LogFileModuleBase.cs b/src/NzbDrone.Api/Logs/LogFileModuleBase.cs index 1b68a7a82..3f1a531d6 100644 --- a/src/NzbDrone.Api/Logs/LogFileModuleBase.cs +++ b/src/NzbDrone.Api/Logs/LogFileModuleBase.cs @@ -44,7 +44,7 @@ namespace NzbDrone.Api.Logs Id = i + 1, Filename = filename, LastWriteTime = _diskProvider.FileGetLastWriteUtc(file), - ContentsUrl = String.Format("/api{0}/{1}/{2}", _configFileProvider.UrlBase, Resource, filename), + ContentsUrl = String.Format("{0}/api/{1}/{2}", _configFileProvider.UrlBase, Resource, filename), DownloadUrl = String.Format("{0}/{1}/{2}", _configFileProvider.UrlBase, DownloadUrlRoot, filename) }); }