Skip to content

Commit

Permalink
chore: force cf pages headers type
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 25, 2023
1 parent a779ae7 commit 81ec33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/entries/cloudflare-pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default {
host: url.hostname,
protocol: url.protocol,
method: request.method,
headers: request.headers,
headers: request.headers as unknown as Headers,
body,
});
},
Expand Down

0 comments on commit 81ec33a

Please sign in to comment.