Sékou Dayifourou KEITA
|
d29ee0eebb
|
fix(route-handlers): align Allow and default-export behavior with Next.js (#497)
* fix: ensure route handlers send correct Allow header
* Inline route handler Allow helpers in RSC entry
* fix: refresh entry snapshots and fmt
* fix(route-handlers): align Allow and default-export behavior with Next.js
* fix(route-handlers): align default-export behavior with Next.js per review
Follow-up for PR #497 review feedback (requested changes).
Changes:
- stop throwing on default export in route handlers
- log dev-only warning when default export is detected
- ignore default export for dispatch so default-only handlers return 405
- keep sorted Allow on implicit OPTIONS and no Allow on 405
- update integration/e2e tests, snapshots, and tracking notes
|
2026-03-13 12:16:46 +00:00 |
|