Skip to content

Commit

Permalink
chore: adding GraphQL handler to hydra itty sample
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrrt committed Nov 25, 2023
1 parent 8b25eda commit c2e62ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --filter=@playground/*",
"deploy": "turbo run deploy --parallel --filter=@playground/*",
"ship": "turbo run deploy --parallel --filter=@playground/*",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"test": "turbo test --filter=@authdog/* --filter=!@playground/* --concurrency=${TURBO_CONCURRENCY:-2}"
Expand Down
1 change: 1 addition & 0 deletions services/itty-hydra/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ router
.get("/", Health)
.get("/health", Health)
.get("/graphql", GraphQLHandler)
.post("/graphql", GraphQLHandler)
.get("*", NotFound);

const handleRequest = (req, env, ctx) => {
Expand Down

0 comments on commit c2e62ca

Please sign in to comment.