hephaestus/crates/hephd
Erich Blume ca8f7d1ab2 feat(hephd): CORS + optional static serving on the hub HTTP endpoint
Add a permissive CORS middleware (answers the browser OPTIONS preflight and
stamps Access-Control-* on every response) and an optional --web-root static
file handler with an index.html SPA fallback. Together these let a browser
surface — the forthcoming heph-pwa mobile app — call /rpc cross-origin or be
hosted same-origin straight from the hub. No new crate dependencies; file
reads run on the blocking pool. Covered by tests/web_serve.rs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 16:39:20 -07:00
..
src feat(hephd): CORS + optional static serving on the hub HTTP endpoint 2026-06-04 16:39:20 -07:00
tests feat(hephd): CORS + optional static serving on the hub HTTP endpoint 2026-06-04 16:39:20 -07:00
Cargo.toml C2(hephd-self-update): impl release poll + version-check helpers 2026-06-04 13:36:55 -07:00