fix: equipment buttons uniform height, trustProxy for real client IP

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-28 16:35:04 +03:00
parent c04318e577
commit 471fc17ce8
2 changed files with 5 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ export async function buildApp() {
}),
},
bodyLimit: 20 * 1024 * 1024, // 20MB — for base64 photo uploads
trustProxy: true, // get real IP from X-Real-IP / X-Forwarded-For via nginx
})
// ── File uploads & static ─────────────────────────────────────────────────