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: expand allowed headers #6837

Open
wants to merge 2 commits into
base: beta
Choose a base branch
from

Conversation

GeorgeHulpoi
Copy link
Contributor

@GeorgeHulpoi GeorgeHulpoi commented Jun 18, 2024

Description

Currently, the Payload doesn't support to extend the Allowed Headers in CORS context. With this PR, cors property can be an object with origins and headers.

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • Chore (non-breaking change which does not add functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Change to the templates directory (does not affect core functionality)
  • Change to the examples directory (does not affect core functionality)
  • This change requires a documentation update

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes
  • I have made corresponding changes to the documentation

@GeorgeHulpoi GeorgeHulpoi changed the title FEAT: Ability to expand Allowed Headers feat(payload): Ability to expand Allowed Headers Jun 18, 2024
@GeorgeHulpoi
Copy link
Contributor Author

@DanRibbens @jmikrut @Elliot67 ?

@DanRibbens DanRibbens changed the title feat(payload): Ability to expand Allowed Headers feat(payload): expand allowed headers Jun 21, 2024
@DanRibbens DanRibbens changed the title feat(payload): expand allowed headers feat: expand allowed headers Jun 21, 2024
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.

None yet

2 participants