Skip to content

apollo-server: remove extra configuration of registerServer from listen#1090

Merged
evans merged 1 commit into
refactor-2.0from
server-2.0/simplify-default-listen
May 24, 2018
Merged

apollo-server: remove extra configuration of registerServer from listen#1090
evans merged 1 commit into
refactor-2.0from
server-2.0/simplify-default-listen

Conversation

@evans

@evans evans commented May 24, 2018

Copy link
Copy Markdown
Contributor

This removes the healthcheck, body parser, and cors from the listen configurations in the default apollo-server. Since the listen interface is shared across all standalone node integrations, it was quite important to make the listen interface cleaner. The defaults are generous, with cors set to * and body parser limit to 50mb to allow large file uploads.

@evans evans added this to the Release 2.0 milestone May 24, 2018
@evans evans merged commit 5d109e9 into refactor-2.0 May 24, 2018
@evans evans deleted the server-2.0/simplify-default-listen branch May 24, 2018 04:52
@evans evans mentioned this pull request Jun 1, 2018
@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.

1 participant