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: allow custom cors origin header #6772

Merged
merged 1 commit into from
Jul 10, 2020

Conversation

kzmeyao
Copy link
Contributor

@kzmeyao kzmeyao commented Jul 3, 2020

Currently, the server sends CORS header with Access-Control-Allow-Origin: *. We should allow users to customize this value to allow tighter security configurations on their end.

@codecov
Copy link

codecov bot commented Jul 3, 2020

Codecov Report

Merging #6772 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6772      +/-   ##
==========================================
- Coverage   93.90%   93.87%   -0.04%     
==========================================
  Files         169      169              
  Lines       12048    12049       +1     
==========================================
- Hits        11314    11311       -3     
- Misses        734      738       +4     
Impacted Files Coverage Δ
src/Options/Definitions.js 100.00% <ø> (ø)
src/Options/index.js 100.00% <ø> (ø)
src/middlewares.js 97.32% <100.00%> (+0.01%) ⬆️
src/Adapters/Storage/Mongo/MongoStorageAdapter.js 92.85% <0.00%> (-0.67%) ⬇️
src/RestWrite.js 93.51% <0.00%> (-0.17%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f095dff...adaea03. Read the comment docs.

Copy link
Member

@dplewis dplewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the contribution.

@dplewis dplewis merged commit d03ec18 into parse-community:master Jul 10, 2020
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