Skip to content

Commit

Permalink
docs(servers.md): next.js bodyParser usage (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Mar 3, 2023
1 parent 0ef0be6 commit 6e7eb1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/servers.md
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 6e7eb1f

Please sign in to comment.