vercel-netlify-cms-github
vercel-netlify-cms-github copied to clipboard
How use it with Next 13 (App Router)
Hello! I've some problems using this lib with next 13 using app router. The usage mode described in README.md, doesn't work properly. I tried use as API Route and Route Handler but don't work as well.
Examples:
API routes
In this way i receive 404 page.
Route Handlers
In this way i receive this error:
auth host=undefined
- error TypeError: res.writeHead is not a function
I'm not sure if is correct pass NextResponse
What I'm doing wrong?
Thanks.
I'm struggling with the same thing, did you ever figure it out?