set default graphql endpoint in playground
This commit is contained in:
parent
ff8327981f
commit
5028c39ea9
1 changed files with 3 additions and 1 deletions
|
@ -116,7 +116,9 @@ const config = {
|
||||||
|
|
||||||
// Enable Playground in production :)
|
// Enable Playground in production :)
|
||||||
introspection: true,
|
introspection: true,
|
||||||
playground: true,
|
playground: {
|
||||||
|
endpoint: "/api/graphql",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (require.main === module) {
|
if (require.main === module) {
|
||||||
|
|
Loading…
Reference in a new issue