fix(ui): embed and serve hero-bootstrap-bridge.css to fix 404 #120

Merged
zaelgohary merged 1 commit from development_fix_bootstrap_bridge_css_404 into development 2026-05-04 14:14:23 +00:00
Member

Summary

base.html references /hero-bootstrap-bridge.css at root, but the file was not embedded in the binary. Copied the canonical file from hero_foundry_ui, embedded via include_str!, and added a dedicated route handler with Cache-Control: immutable.

Closes #121

Changes

  • Added hero-bootstrap-bridge.css to embedded statics
  • Added handler_bootstrap_bridge_css and routed at /hero-bootstrap-bridge.css

Test Results

Verified via curl through hero_router: /hero_books/ui/hero-bootstrap-bridge.css returns 200 with cache-control: public, max-age=31536000, immutable.

## Summary `base.html` references `/hero-bootstrap-bridge.css` at root, but the file was not embedded in the binary. Copied the canonical file from `hero_foundry_ui`, embedded via `include_str!`, and added a dedicated route handler with `Cache-Control: immutable`. ## Related Issue Closes #121 ## Changes - Added `hero-bootstrap-bridge.css` to embedded statics - Added `handler_bootstrap_bridge_css` and routed at `/hero-bootstrap-bridge.css` ## Test Results Verified via curl through hero_router: `/hero_books/ui/hero-bootstrap-bridge.css` returns 200 with `cache-control: public, max-age=31536000, immutable`.
fix(ui): embed and serve hero-bootstrap-bridge.css to fix 404
All checks were successful
Test / test (pull_request) Successful in 13m1s
Test / integration (pull_request) Successful in 4m28s
15a691ff25
zaelgohary merged commit a389a4196d into development 2026-05-04 14:14:23 +00:00
zaelgohary deleted branch development_fix_bootstrap_bridge_css_404 2026-05-04 14:14:23 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_books!120
No description provided.