docs: fix typo in whats new documentation

This commit is contained in:
Brian Dennis 2018-06-24 12:11:19 -05:00 committed by GitHub
parent acedc2690b
commit 73ec5e0c2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ server.listen().then(({ url }) => {
## Health Checks ## Health Checks
The default Apollo server provides a health check endpoint at `/.well-known/apollo/server-health` hat returns a 200 status code by default. If `onHealthCheck` is defined, the promise returned from the callback determines the status code. A successful resolution causes a 200 and rejection causes a 503. Health checks are often used by load balancers to determine if a server is available. The default Apollo server provides a health check endpoint at `/.well-known/apollo/server-health` that returns a 200 status code by default. If `onHealthCheck` is defined, the promise returned from the callback determines the status code. A successful resolution causes a 200 and rejection causes a 503. Health checks are often used by load balancers to determine if a server is available.
```js ```js
const { ApolloServer, gql } = require('apollo-server'); const { ApolloServer, gql } = require('apollo-server');