bb8a96d281
Deploy to LXC / deploy (push) Successful in 21s
- Added BODY_SIZE_LIMIT=52428800 (50MB) to .env.example - handleError in hooks catches body size exceeded and returns friendly message - Client-side file size check on image upload input (alerts before submit) - adapter-node uses BODY_SIZE_LIMIT env var (default was 512KB) To fix: add BODY_SIZE_LIMIT=52428800 to .env on the server and restart. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 lines
158 B
Bash
5 lines
158 B
Bash
DATABASE_URL=postgresql://bflr:bflr_dev@localhost:5432/buildfor_life_repair
|
|
UPLOAD_DIR=static/uploads
|
|
BASE_URL=http://localhost:5173
|
|
BODY_SIZE_LIMIT=52428800
|