Tune the speed limit page a bit

This commit is contained in:
2022-03-05 18:11:13 +01:00
parent d118b23bf8
commit b9ade1801c
4 changed files with 12 additions and 11 deletions

View File

@@ -27,7 +27,7 @@ export const set_file = async file => {
file.availability === "ip_download_limited_captcha_required"
) {
viewer_type = "rate_limit"
} else if (file.download_speed_limit > 0) {
} else if (file.download_speed_limit > 0 && file.download_speed_limit <= 1<<20) {
viewer_type = "speed_limit"
} else {
viewer_type = file_type(file)