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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user