Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support rest.WithCorsHeaders to customize cors headers #4284

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

kevwan
Copy link
Contributor

@kevwan kevwan commented Jul 30, 2024

No description provided.

Copy link

codecov bot commented Jul 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.11%. Comparing base (8690859) to head (72588ef).
Report is 105 commits behind head on master.

Additional details and impacted files
Files Coverage Δ
rest/internal/cors/handlers.go 100.00% <100.00%> (ø)
rest/server.go 97.40% <100.00%> (+0.87%) ⬆️

... and 253 files with indirect coverage changes

@kevwan kevwan merged commit 2588a36 into zeromicro:master Jul 30, 2024
6 checks passed
@kevwan kevwan deleted the feat/cors-headers branch July 30, 2024 09:29
@kevwan kevwan linked an issue Jan 28, 2025 that may be closed by this pull request
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.

CORS optimization
1 participant