Require login for initial software downloads

This commit is contained in:
lwt
2026-06-09 15:07:58 +08:00
parent cadaa0a1c5
commit 539729ae00
3 changed files with 11 additions and 2 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)}/update-download`;
copy.downloadUrl = `/api/software/${encodeURIComponent(item.id)}/download`;
}
}
return copy;