Skip to content

Commit

Permalink
Fix fo broken healthcheck in apollo-server-lambda (#4892)
Browse files Browse the repository at this point in the history
This fixes #4891
  • Loading branch information
iannickb committed Mar 5, 2021
1 parent 6b24c96 commit df23e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apollo-server-lambda/src/ApolloServer.ts
Expand Up @@ -173,7 +173,7 @@ export class ApolloServer extends ApolloServerBase {
});
}

if (event.path === '/.well-known/apollo/server-health') {
if (event.path.endsWith('/.well-known/apollo/server-health')) {
const successfulResponse = {
body: JSON.stringify({ status: 'pass' }),
statusCode: 200,
Expand Down

0 comments on commit df23e06

Please sign in to comment.