cors #17
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_books#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
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
Addressed in PR #24 (branch
development-fixes-feb).Commit:
08591c5Phase 1add_common_headers()insrc/web/server.rs/rpcPOSTAccess-Control-Allow-Origin: *,Access-Control-Allow-Methods: GET, POST, OPTIONS,Access-Control-Allow-Headers: Content-Type, Authorization,Access-Control-Max-Age: 86400CORS support has been implemented in the web server. The server now includes proper CORS headers (Access-Control-Allow-Origin, Access-Control-Allow-Methods, Access-Control-Allow-Headers) in responses and handles OPTIONS preflight requests, enabling cross-origin requests from browser-based clients. Closing as resolved.