Skip to content

feat: cors support#69

Merged
sxy-trans-n merged 1 commit intoTrans-N-ai:mainfrom
Rin-Li:feat/cros
Aug 5, 2025
Merged

feat: cors support#69
sxy-trans-n merged 1 commit intoTrans-N-ai:mainfrom
Rin-Li:feat/cros

Conversation

@Rin-Li
Copy link
Contributor

@Rin-Li Rin-Li commented Jul 30, 2025

Feature: CORS Support

What this PR does

  • Adds a shared applyCORSHeaders function
  • Appends CORS headers to all responses
  • Handles OPTIONS preflight requests

Why needed

  • Enables cross-origin requests for frontend development

How tested

  • Verified with curl and browser that CORS headers are present and requests succeed

@yulinli-rin yulinli-rin changed the title feat: cros support feat: cors support Aug 4, 2025
@sxy-trans-n sxy-trans-n merged commit d579e8b into Trans-N-ai:main Aug 5, 2025
2 checks passed
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.

2 participants