fix(@applications/mac-sync): 🐛 adjust body limit to 1gb

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Natalie 2026-05-18 00:12:23 -07:00
parent e496834530
commit b2882a0751

View file

@ -106,7 +106,7 @@ export async function createApp() {
}
await next();
})
.use('*', bodyLimit({ maxSize: 100 * 1024 * 1024 })) // 100MB for large iMessage batch uploads
.use('*', bodyLimit({ maxSize: 1024 * 1024 * 1024 })) // 1GB — covers ProRAW photos and 4K video iMessage/iPhoto uploads
.get('/health', (c) => c.json({ ok: true }))
.get('/health/deep', async (c) => {
const checks: Record<string, string> = {};