mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
fix graphiql docs for hapi
This commit is contained in:
parent
c5d0c43b55
commit
1a009c6d4d
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ If you are using Hapi, GraphiQL can be configured as follows:
|
||||||
import { graphiqlHapi } from 'apollo-server-hapi';
|
import { graphiqlHapi } from 'apollo-server-hapi';
|
||||||
|
|
||||||
server.register({
|
server.register({
|
||||||
register: graphiqlHapi,
|
plugin: graphiqlHapi,
|
||||||
options: {
|
options: {
|
||||||
path: '/graphiql',
|
path: '/graphiql',
|
||||||
graphiqlOptions: {
|
graphiqlOptions: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue