Skip to content

Commit

Permalink
chore: update to latest opennextjs/aws
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Nov 19, 2024
1 parent 1ed9ffa commit fd9408f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"vitest": "catalog:"
},
"dependencies": {
"@opennextjs/aws": "https://pkg.pr.new/@opennextjs/aws@3b372b6",
"@opennextjs/aws": "https://pkg.pr.new/@opennextjs/aws@5c0e121",
"ts-morph": "catalog:"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudflare/src/cli/templates/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default {
// The Middleware handler can return either a `Response` or a `Request`:
// - `Response`s should be returned early
// - `Request`s are handled by the Next server
const reqOrResp = await middlewareHandler(request, env);
const reqOrResp = await middlewareHandler(request, env, ctx);

if (reqOrResp instanceof Response) {
return reqOrResp;
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fd9408f

Please sign in to comment.