Closed blomqma closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
next-rest-framework | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 25, 2024 3:44pm |
next-rest-framework-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 25, 2024 3:44pm |
This fixes the handling of custom responses from the middleware handlers. Comparing the instance to a
NextResponse
object was not working while using theResponse
object that the NextResponse object is also inherited from, seems to fix the issue so that custom responses from middlewares work.