Explain rate limits on download page
This commit is contained in:
@@ -21,7 +21,11 @@ export const set_file = async file => {
|
||||
return
|
||||
} else if (file.abuse_type !== "") {
|
||||
viewer_type = "abuse"
|
||||
} else if (file.availability === "file_rate_limited_captcha_required") {
|
||||
} else if (
|
||||
file.availability !== "file_rate_limited_captcha_required" ||
|
||||
file.availability !== "ip_download_limited_captcha_required" ||
|
||||
file.availability !== "ip_transfer_limited_captcha_required"
|
||||
) {
|
||||
viewer_type = "rate_limit"
|
||||
} else {
|
||||
viewer_type = file_type(file)
|
||||
|
Reference in New Issue
Block a user