Skip to content

Commit

Permalink
Log GH event
Browse files Browse the repository at this point in the history
  • Loading branch information
tedspare committed Feb 11, 2025
1 parent c87dcee commit 8f37a16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/api/webhook/github/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export const POST = async (req: Request) => {
})
})

console.log('Webhook event received:', hdrs.get('x-github-event'))

await new Promise(resolve => setTimeout(resolve, 5000))

return new Response('Webhook received', { status: 203 })
Expand Down

1 comment on commit 8f37a16

@vercel
Copy link

@vercel vercel bot commented on 8f37a16 Feb 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.