Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Seccafien committed May 25, 2022
1 parent f306362 commit fb50a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hydrogen/src/platforms/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const handleRequest = entrypoint as RequestHandler;
export default {
async fetch(
request: Request,
env: Record<string, string>,
env: unknown,
context: {waitUntil: (promise: Promise<any>) => void}
) {
process.env = {...process.env, ...env};
process.env = {...process.env, ...(env as Record<string, string>)};

try {
return (await handleRequest(request, {
Expand Down

0 comments on commit fb50a07

Please sign in to comment.