mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
apollo-server: add cors options to listen function
This commit is contained in:
parent
1f784636d9
commit
06a4bcbab1
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ export class ApolloServer extends ApolloServerBase<Request> {
|
||||||
disableHealthCheck,
|
disableHealthCheck,
|
||||||
bodyParserConfig,
|
bodyParserConfig,
|
||||||
onHealthCheck,
|
onHealthCheck,
|
||||||
|
cors,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue