mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-15 11:14:16 +01:00
adjust server to new api and send back url for file download on DownloadFilesDto
This commit is contained in:
parent
149a67fd6f
commit
f55ff9f6a3
3 changed files with 4 additions and 2 deletions
|
|
@ -77,7 +77,8 @@ namespace MareSynchronosServer.Hubs
|
|||
ForbiddenBy = forbidden?.ForbiddenBy ?? string.Empty,
|
||||
IsForbidden = forbidden != null,
|
||||
Hash = hash,
|
||||
Size = fileSize
|
||||
Size = fileSize,
|
||||
Url = _configuration["CdnFullUrl"] + hash.ToUpperInvariant()
|
||||
};
|
||||
|
||||
if (!fileInfo.Exists && file != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue