Added Friendly error for res.redirect 🐝 (#15844)
## Which solves this PR Displaying a friendly error, when the user is only passing `statusOrUrl`(type number) and the second argument `url` is ignored. **Example** `res.redirect(307);` // Show friendly error Closes: https://github.com/vercel/next.js/issues/15594 x-ref: https://github.com/vercel/next.js/pull/15603
Showing
想要评论请 注册 或 登录