Skip to content

Commit

Permalink
docs: add necessary env suggestion for vercel (#2000)
Browse files Browse the repository at this point in the history
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
  • Loading branch information
Zxilly and gr2m committed Apr 10, 2024
1 parent 1f21a63 commit 26665e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/deployment.md
Expand Up @@ -291,6 +291,9 @@ export default createNodeMiddleware(app, {
});
```

**Important:** Set `NODEJS_HELPERS` environment variable to `0` in order to prevent Vercel from parsing the response body.
See [Disable Helpers](https://vercel.com/docs/functions/runtimes/node-js#disabling-helpers-for-node.js) for detail.

Examples

- [probot/example-vercel](https://github.com/probot/example-vercel#readme)
Expand Down

0 comments on commit 26665e6

Please sign in to comment.