Skip to content

Commit

Permalink
Clenaup
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Oct 23, 2024
1 parent 1659cec commit bb911ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export function createServer(config?: ServerConfig) {
return restRouter.fetch(url, req);
}

// GraphQL
if (url.pathname.startsWith("/api")) {
// GraphQL
const data = await graphql.evaluateQuery(req);

return createResponse(JSON.stringify(data), {
Expand Down

0 comments on commit bb911ec

Please sign in to comment.