Make copyrighted files available to the uploader

This commit is contained in:
2023-04-04 16:00:14 +02:00
parent e5fa6cfc88
commit 782492de35
7 changed files with 41 additions and 33 deletions

View File

@@ -29,6 +29,10 @@ export const download_file = () => {
download_frame.src = file.download_href
return
}
if (!file.availability.endsWith("_captcha_required")) {
console.debug("File is unavailable, ignoring download request")
return
}
console.debug("File is not readily available, showing captcha dialog")