omnigraph/docs/user
andrew 0685d5530f omnigraph-server: optional CORS layer for browser-based UIs
Off by default — production deployments behind a same-origin reverse
proxy need no configuration. When OMNIGRAPH_SERVER_CORS_ORIGIN is set
(comma-separated origins), attach a tower_http::cors::CorsLayer
permitting GET/POST/DELETE plus Authorization and Content-Type request
headers. Empty/unset variable preserves prior no-CORS behavior.

Tests: cors_default_off_does_not_emit_allow_origin_header,
cors_env_origin_emits_allow_origin_header.

Companion to omnigraph-ui's web demo (Vite dev origin
http://127.0.0.1:5173 hitting the API at 127.0.0.1:8080).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 16:00:46 +03:00
..
audit.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
branches-commits.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
changes.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
cli-reference.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
cli.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
constants.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
deployment.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
embeddings.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
errors.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
index.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
indexes.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
install.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
maintenance.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
policy.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
query-language.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
schema-language.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
schema-lint.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
server.md omnigraph-server: optional CORS layer for browser-based UIs 2026-05-15 16:00:46 +03:00
storage.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00
transactions.md docs: split user and developer docs (#93) 2026-05-15 03:45:22 +03:00