Skip to content

Commit

Permalink
chore: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 8, 2024
1 parent b5e480c commit dc0f5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/nitro/routes/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default eventHandler(async (event) => {
const cloudflare = await event.context.cloudflare;
export default eventHandler((event) => {
const { cloudflare } = event.context;

const logs: string[] = [];
const log = (str: string) => logs.push(str);
Expand Down

0 comments on commit dc0f5bc

Please sign in to comment.