From 5028c39ea9cda9fafff2c8008a1b6f0db4fd0049 Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Thu, 23 Apr 2020 01:12:52 -0700 Subject: [PATCH] set default graphql endpoint in playground --- src/server/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/index.js b/src/server/index.js index 5d43fe8..f4ab1a3 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -116,7 +116,9 @@ const config = { // Enable Playground in production :) introspection: true, - playground: true, + playground: { + endpoint: "/api/graphql", + }, }; if (require.main === module) {