fix(office_server): bump axum body limit to allow real uploads #20
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_office#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
Browser uploads via the docs/sheets/presentations/pdf island fail with
network error: TypeError: Failed to fetchfor any non-trivial file. Direct probe viacurlagainst the UDS confirms the failure originates server-side:Root cause:
hero_office_server's axum router (crates/hero_office_server/src/main.rs:86) builds theRouterwith noDefaultBodyLimitlayer, so the framework default of 2 MB applies. After base64 inflation (4/3×) the threshold is reached around a ~1.5 MB raw file.Acceptance
upload_document.200 {"success": true, ...}, no 413.office_editor_realstay green.