apollo-server: add cors options to listen function

This commit is contained in:
Evans Hauser 2018-05-22 22:05:46 -07:00
parent 1f784636d9
commit 06a4bcbab1
No known key found for this signature in database
GPG key ID: 88AF586817F52EEC

View file

@ -44,6 +44,7 @@ export class ApolloServer extends ApolloServerBase<Request> {
disableHealthCheck, disableHealthCheck,
bodyParserConfig, bodyParserConfig,
onHealthCheck, onHealthCheck,
cors,
}); });
} }