mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
Fixed: Viewing log files with URL Base enabled
This commit is contained in:
@@ -44,7 +44,7 @@ namespace NzbDrone.Api.Logs
|
|||||||
Id = i + 1,
|
Id = i + 1,
|
||||||
Filename = filename,
|
Filename = filename,
|
||||||
LastWriteTime = _diskProvider.FileGetLastWriteUtc(file),
|
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)
|
DownloadUrl = String.Format("{0}/{1}/{2}", _configFileProvider.UrlBase, DownloadUrlRoot, filename)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user