Skip to content

Commit

Permalink
fix 405 case
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jun 18, 2024
1 parent f46975a commit d15e55a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/next/src/server/lib/router-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,10 @@ export async function initialize(opts: {
return await invokeRender(
url.parse('/405', true),
'/405',
handleIndex
handleIndex,
{
invokeStatus: 405,
}
)
}

Expand Down

0 comments on commit d15e55a

Please sign in to comment.