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

Add support for multiple CORS origins #82

Closed
wants to merge 2 commits into from
Closed

Add support for multiple CORS origins #82

wants to merge 2 commits into from

Conversation

jaryl
Copy link
Contributor

@jaryl jaryl commented Feb 24, 2020

Adds support for multiple origins without using wildcard (*) as per issue in #79

Changes should not affect how existing configurations (no or single origin), and takes a whitelist approach to check the request's hostname, before return the origin to be set in the header.

@jaryl jaryl marked this pull request as ready for review February 24, 2020 05:44
@coveralls
Copy link

coveralls commented Feb 24, 2020

Pull Request Test Coverage Report for Build 279

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.5%) to 57.984%

Totals Coverage Status
Change from base Build 272: 0.5%
Covered Lines: 346
Relevant Lines: 528

💛 - Coveralls

@electerious
Copy link
Owner

Awesome 🙌 I will review it as soon as I find some time for it!

electerious added a commit that referenced this pull request Feb 25, 2020
@electerious
Copy link
Owner

A perfect PR! Merged it manually into develop without any changes 😊 Thanks!

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

3 participants