fix(ui): embed and serve hero-bootstrap-bridge.css to fix 404 #120
No reviewers
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_books!120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_fix_bootstrap_bridge_css_404"
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?
Summary
base.htmlreferences/hero-bootstrap-bridge.cssat root, but the file was not embedded in the binary. Copied the canonical file fromhero_foundry_ui, embedded viainclude_str!, and added a dedicated route handler withCache-Control: immutable.Related Issue
Closes #121
Changes
hero-bootstrap-bridge.cssto embedded staticshandler_bootstrap_bridge_cssand routed at/hero-bootstrap-bridge.cssTest Results
Verified via curl through hero_router:
/hero_books/ui/hero-bootstrap-bridge.cssreturns 200 withcache-control: public, max-age=31536000, immutable.