()
| 24 | } |
| 25 | |
| 26 | function getResumableChunkSizeBytes() { |
| 27 | const cfg = window.__FR_SITE_CFG__ || window.siteConfig || {}; |
| 28 | const uploads = (cfg && typeof cfg === 'object') ? cfg.uploads : null; |
| 29 | const raw = uploads ? uploads.resumableChunkMb : null; |
| 30 | const num = parseFloat(raw); |
| 31 | const mb = Number.isFinite(num) ? Math.min(100, Math.max(0.5, num)) : 1.5; |
| 32 | return mb * 1024 * 1024; |
| 33 | } |
| 34 | |
| 35 | // --- ClamAV scanning UI helpers ---------------------------------------- |
| 36 |
no outgoing calls
no test coverage detected