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

enable CORS on REST server #46

Merged
merged 1 commit into from
Jun 29, 2017
Merged

Conversation

erizocosmico
Copy link
Contributor

@erizocosmico erizocosmico commented Jun 28, 2017

I allowed all origins but restricted credentials, methods and headers.

/cc @smola @juanjux @abeaumont @Serabe @dpordomingo

@codecov
Copy link

codecov bot commented Jun 28, 2017

Codecov Report

Merging #46 into master will increase coverage by 0.27%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
+ Coverage   59.48%   59.75%   +0.27%     
==========================================
  Files          15       15              
  Lines         733      738       +5     
==========================================
+ Hits          436      441       +5     
  Misses        256      256              
  Partials       41       41
Impacted Files Coverage Δ
rest.go 58.13% <100%> (+5.5%) ⬆️

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 a2d5c22...6eef12d. Read the comment docs.

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Copy link

@Serabe Serabe left a comment

Choose a reason for hiding this comment

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

If the rest agree on allowing any origin, it is ok for me.

@smola smola merged commit f5035ff into bblfsh:master Jun 29, 2017
@erizocosmico erizocosmico deleted the feature/cors branch June 29, 2017 09:32
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.

4 participants