fix: prevent Hono from overriding global Response object (#1410)
This commit is contained in:
parent
f66a55b5f4
commit
9296459ac0
1 changed files with 127 additions and 19 deletions
5
.changeset/brave-lions-glow.md
Normal file
5
.changeset/brave-lions-glow.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@modelcontextprotocol/node": patch
|
||||
---
|
||||
|
||||
Prevent Hono from overriding global Response object by passing `overrideGlobalObjects: false` to `getRequestListener()`. This fixes compatibility with frameworks like Next.js whose response classes extend the native Response.
|
||||
Loading…
Reference in a new issue