We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1659cec commit bb911ecCopy full SHA for bb911ec
src/server.ts
@@ -50,8 +50,8 @@ export function createServer(config?: ServerConfig) {
50
return restRouter.fetch(url, req);
51
}
52
53
+ // GraphQL
54
if (url.pathname.startsWith("/api")) {
- // GraphQL
55
const data = await graphql.evaluateQuery(req);
56
57
return createResponse(JSON.stringify(data), {
0 commit comments