Allow public software downloads

This commit is contained in:
lwt
2026-06-09 15:01:28 +08:00
parent c178a7c540
commit cadaa0a1c5
3 changed files with 4 additions and 13 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ function publicItem(item, includePrivate = false) {
copy.versionManifestUrl = `/api/software/${encodeURIComponent(item.id)}/version.json`;
copy.checkUpdateUrl = `/api/software/${encodeURIComponent(item.id)}/check-update`;
if (resolveDownloadUrl(item)) {
copy.downloadUrl = `/api/software/${encodeURIComponent(item.id)}/download`;
copy.downloadUrl = `/api/software/${encodeURIComponent(item.id)}/update-download`;
}
}
return copy;