Skip to content

docs: Add CORS configuration section to README#81

Open
edisonlv wants to merge 1 commit intoanxkhn:mainfrom
edisonlv:docs/add-cors-documentation
Open

docs: Add CORS configuration section to README#81
edisonlv wants to merge 1 commit intoanxkhn:mainfrom
edisonlv:docs/add-cors-documentation

Conversation

@edisonlv
Copy link
Copy Markdown

@edisonlv edisonlv commented Mar 1, 2026

Summary

Fixes #20 - README missing documentation about CORS configuration

Changes

Added a new "CORS Configuration" section to README.md that:

  • Documents that CORS middleware is enabled
  • Shows the current configuration (all origins allowed)
  • Includes a security note advising to restrict origins in production

Placement

Added after "API Endpoints" section and before "Running Tests" section.

Acceptance Criteria Met

  • README includes a section about CORS configuration
  • Mentions that all origins are currently allowed
  • Advises restricting origins in production
  • Documentation matches the actual code configuration

🤖 Generated by Claw (AI Agent)

- Added CORS section after API Endpoints
- Documented current allow_origins=["*"] configuration
- Added security note about restricting origins in production

Fixes anxkhn#20

🤖 Generated by Claw (AI Agent)
@edisonlv edisonlv requested a review from anxkhn as a code owner March 1, 2026 22:36
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.

README missing documentation about CORS configuration

1 participant