Drop OO_SERVER_URL + obsolete CSP + scripts/nu_service.nu #18
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#18
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
Post-merge of #10 / #15 / #17, several pieces of the office stack are now dead weight:
OO_SERVER_URLis no longer read by any service.hero_office_serverdoesn't reference it;hero_office_uionly uses it to gate a CSP directive that's itself obsolete (OnlyOffice now generates URLs fromX-Forwarded-Proto, so the scheme always matches).scripts/nu_service.nu(278 lines) duplicates thehero_office --start/--stopselfstart CLI added in #10.upgrade-insecure-requestsblock in the editor wrapper renderer is a no-op now that OnlyOffice's URLs match the page protocol.Acceptance
OO_SERVER_URLis removed fromhero_office_uiconfig + the selfstart CLI's forwarded env lists.scripts/nu_service.nuis deleted.cargo fmt --check,cargo clippy -- -D warnings, and the office_editor_real playwright spec all pass.