diff --git a/backend/src/app.ts b/backend/src/app.ts index ba31cc1..b43090e 100644 --- a/backend/src/app.ts +++ b/backend/src/app.ts @@ -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 ───────────────────────────────────────────────── diff --git a/src/pages/EquipmentPage.tsx b/src/pages/EquipmentPage.tsx index ad3f61c..4fd1647 100644 --- a/src/pages/EquipmentPage.tsx +++ b/src/pages/EquipmentPage.tsx @@ -974,7 +974,7 @@ export function EquipmentPage() {