cors #17

Open
opened 2026-02-07 15:14:06 +00:00 by despiegk · 1 comment
Owner

make sure server support cors, so we can run it inside an iframe, will be initial version to embed in our hero-os

we will do the dioxus in 2e phase

make sure server support cors, so we can run it inside an iframe, will be initial version to embed in our hero-os we will do the dioxus in 2e phase
despiegk added this to the now milestone 2026-02-07 15:14:15 +00:00
despiegk added this to the ACTIVE project 2026-02-07 15:14:23 +00:00
Owner

Addressed in PR #24 (branch development-fixes-feb).

Commit: 08591c5 Phase 1

  • CORS already implemented via add_common_headers() in src/web/server.rs
  • Verified it covers all endpoints including /rpc POST
  • Headers: Access-Control-Allow-Origin: *, Access-Control-Allow-Methods: GET, POST, OPTIONS, Access-Control-Allow-Headers: Content-Type, Authorization, Access-Control-Max-Age: 86400
  • OPTIONS preflight handled correctly
Addressed in PR #24 (branch `development-fixes-feb`). **Commit:** `08591c5` Phase 1 - CORS already implemented via `add_common_headers()` in `src/web/server.rs` - Verified it covers all endpoints including `/rpc` POST - Headers: `Access-Control-Allow-Origin: *`, `Access-Control-Allow-Methods: GET, POST, OPTIONS`, `Access-Control-Allow-Headers: Content-Type, Authorization`, `Access-Control-Max-Age: 86400` - OPTIONS preflight handled correctly
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
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#17
No description provided.