1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-02 13:14:58 +00:00

Fixed: Viewing log files with URL Base enabled

This commit is contained in:
Mark McDowall 2014-06-29 13:05:33 -07:00
parent a6639fecd9
commit e2ee7e36e3

View file

@ -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)
});
}