404 page not found
Opened this issue · 2 comments
tekumara commented
when creating a github app on github.com for the example and running:
go run ./example
web hook delivery fails with 404 page not found
tekumara commented
Looks like this because of the line:
http.Handle(githubapp.DefaultWebhookRoute, handler)
which expects requests at /api/github/hook
whereas my app on github.com was configured to post to /
.
This makes it work:
http.Handle("/", handler)