Skip to content

Commit

Permalink
docs(servers.md): next.js bodyParser usage
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Mar 3, 2023
1 parent 0ef0be6 commit bfab913
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ export default function handler(req: NextApiRequest, res: NextApiResponse) {
export const config = {
api: {
externalResolver: true,
// Uncomment to fix stalled POST requests
// https://github.com/chimurai/http-proxy-middleware/issues/795#issuecomment-1314464432
// bodyParser: false,
},
};

Expand Down

0 comments on commit bfab913

Please sign in to comment.