hephaestus/crates/hephd/tests
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
..
auth_hub.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00
client_mode.rs feat(views): filter views (§8.2) — saved agenda slices 2026-06-03 06:39:07 -07:00
oauth.rs hephd: OIDC client auth — device-code flow + token attach (auth 10b) 2026-06-01 16:27:36 -07:00
rpc_socket.rs style: rustfmt the new rpc_socket tests 2026-06-04 12:31:01 -07:00
sync_http.rs C2(hephd-self-update): impl verify hub-dropout resilience (+ client timeout) 2026-06-04 13:47:26 -07:00
web_serve.rs feat(hephd): CORS + optional static serving on the hub HTTP endpoint 2026-06-04 16:39:20 -07:00