diff --git a/qlkube/src/index.js b/qlkube/src/index.js
index 60d11a44a..40f65d7e0 100644
--- a/qlkube/src/index.js
+++ b/qlkube/src/index.js
@@ -92,16 +92,20 @@ async function main() {
app.get('/healthz', (req, res) => {
res.sendStatus(200);
});
+ app.get('/', (req, res) => {
+ res.setHeader('content-type', 'text/html');
+ res.send(`
CrownLabs GraphQL Playground
+
+
+
+
+ `);
+ });
const httpServer = createServer(app);
const server = new ApolloServer({
schema,
- playground: true,
- plugins: [
- ApolloServerPluginDrainHttpServer({ httpServer: httpServer }),
- ApolloServerPluginLandingPageGraphQLPlayground(),
- ],
formatError: error => {
try {
const msgs = [...(error.message.match(/(\d+)\s*\-(.*)$/) || [])];