mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
apollo-server: move registerServer call outside of disableHealthCheck conditional
This commit is contained in:
parent
56955dc97a
commit
1a34a0ac6e
1 changed files with 2 additions and 2 deletions
|
@ -53,9 +53,9 @@ export class ApolloServer extends ApolloServerBase<express.Request> {
|
|||
res.json({ status: 'pass' });
|
||||
}
|
||||
});
|
||||
|
||||
await registerServer({ app, path: '/', server: this });
|
||||
}
|
||||
|
||||
await registerServer({ app, path: '/', server: this });
|
||||
}
|
||||
|
||||
return super.listen(opts);
|
||||
|
|
Loading…
Add table
Reference in a new issue