docs: add necessary env suggestion for vercel (#2000)

Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
This commit is contained in:
Zxilly 2024-04-11 04:36:21 +08:00 committed by GitHub
parent 1f21a63c7d
commit 26665e66fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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 Examples
- [probot/example-vercel](https://github.com/probot/example-vercel#readme) - [probot/example-vercel](https://github.com/probot/example-vercel#readme)