mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
docs: fix typo in whats new documentation
This commit is contained in:
parent
acedc2690b
commit
73ec5e0c2a
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
|
|
Loading…
Add table
Reference in a new issue