Skip to content

docs: clarify CORS header behavior#421

Open
vibhor-aggr wants to merge 1 commit into
expressjs:masterfrom
vibhor-aggr:docs/clarify-cors-header-behavior
Open

docs: clarify CORS header behavior#421
vibhor-aggr wants to merge 1 commit into
expressjs:masterfrom
vibhor-aggr:docs/clarify-cors-header-behavior

Conversation

@vibhor-aggr

Copy link
Copy Markdown

Closes #384.

This keeps the README focused on what the middleware actually does: sets CORS response headers that browsers enforce. It replaces remaining wording that implied server-side request blocking, especially around the origin option, with explicit descriptions of the Access-Control-Allow-Origin value sent in the response.

Verification:

  • npm test
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs should better explain what this package actually does

1 participant