Skip to content

Expose Cors option from vanilla ApolloServer constructor#1335

Merged
evans merged 4 commits into
version-2from
server-2.0/a-s-cors
Jul 11, 2018
Merged

Expose Cors option from vanilla ApolloServer constructor#1335
evans merged 4 commits into
version-2from
server-2.0/a-s-cors

Conversation

@evans

@evans evans commented Jul 11, 2018

Copy link
Copy Markdown
Contributor

This places a cors option inside of apollo-server's constructor. In order to get to create a production server, cors must be configurable. To get to production, we should not have to use an alternative integration, so while this removes the universal constructor, it's a necessary change.

Fixes #1326

@evans evans requested a review from martijnwalraven July 11, 2018 16:52
@martijnwalraven

Copy link
Copy Markdown
Contributor

I made some small capitalization changes to the docs, but looks good to me!

@evans evans merged commit de4760b into version-2 Jul 11, 2018
@evans evans deleted the server-2.0/a-s-cors branch July 11, 2018 20:46
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants