Skip to content

Commit

Permalink
hapi,express: fix graphql playground subscriptitionPath argument for …
Browse files Browse the repository at this point in the history
…typing
  • Loading branch information
evans committed Jun 1, 2018
1 parent 581e163 commit 2b3a5e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/apollo-server-express/src/ApolloServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const registerServer = async ({
if (prefersHTML) {
return gui({
endpoint: path,
subscriptionsEndpoint: server.subscriptionsPath,
subscriptionEndpoint: server.subscriptionsPath,
})(req, res, next);
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-server-hapi/src/ApolloServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ server.listen({ http: { port: YOUR_PORT_HERE } });
return h
.response(
renderPlaygroundPage({
subscriptionsEndpoint: server.subscriptionsPath,
subscriptionEndpoint: server.subscriptionsPath,
endpoint: path,
version: '1.4.0',
}),
Expand Down

0 comments on commit 2b3a5e6

Please sign in to comment.