We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4579cba commit 84319a5Copy full SHA for 84319a5
api/github/webhooks/index.js
@@ -1,10 +1,6 @@
1
const { createNodeMiddleware, createProbot } = require("probot");
2
3
const app = require("../../../app");
4
-const probot = createProbot({
5
- defaults: {
6
- webhookPath: "/api/github/webhooks",
7
- },
8
-});
+const probot = createProbot();
9
10
-module.exports = createNodeMiddleware(app, { probot });
+module.exports = createNodeMiddleware(app, { probot, webhooksPath: '/api/github/webhooks' });
0 commit comments