Can't get webhook path to work
Whenever clerk fires a
user_updated | user_created
event I want to catch in on /webhook/clerk/user-updated
path using hono routing. I get 404
everytime clerk fires that event. However, if I look at the typeof routes
I see that I have /webhook/clerk/user-updated/$post
I don't get it why the route is not accessible from the outside.
This is my index.ts
This is my clerkUserUpdatedController
const app = new Hono().post("/user-updated", async (c) => {})
<--- minimalist version
and this is my NEXTJS middleware.ts
0 Replies