diff --git a/index.mjs b/index.mjs index 3a4ad65b..ca1a2065 100644 --- a/index.mjs +++ b/index.mjs @@ -218,6 +218,11 @@ export default { } return response; } + + if (url.pathname === graphQLOptions.playgroundEndpoint) { + //response = playground(request, graphQLOptions); + return graphiql(graphQLOptions); + } if (useNightbotOnUrl(url)) { return await getNightbotResponse(request, url, env, ctx);