fix: raise file upload limit from 4 MB to 8 MB

PHP constant and all JS client-side guards updated. Server PHP ini is 64M.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 20:57:25 +02:00
parent 43cf5b8ce4
commit 9b8cb9c6dc
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -154,8 +154,8 @@
return;
}
files.forEach((f) => {
if (f.size > 4 * 1024 * 1024) {
setStatus(`${f.name} exceeds the 4 MB limit.`, 'error');
if (f.size > 8 * 1024 * 1024) {
setStatus(`${f.name} exceeds the 8 MB limit.`, 'error');
return;
}
const ext = (f.name.split('.').pop() || '').toLowerCase();