api/index.jsconst toLambda = ;const applicationFunction = ;moduleexports = ;
Supported Probot Features
- Sentry integration
- Webhook signature verification
- Loading the private key from the filesystem.
PRIVATE_KEYenvironment variable should be used instead (possibly base64 encoded).
- Custom routing. The only routes are:
GET /: typical Probot landing page
POST /: webhook handler
- Multiple applications running under the same Probot instance.
Instead, you should create multiple Now Lambdas.
Each lambda should have its own
now.jsonfile since they won't share the same
WEBHOOK_SECRETenvironment variables. To do that, you could either use multiple repositories or a mono-repo with Yarn workspaces or Lerna for instance.