Skip to content

Commit eafc8a2

Browse files
authored
fix: add webhooksPath property to enable function execution (#94)
1 parent 163bd84 commit eafc8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

function.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
const { createNodeMiddleware, createProbot } = require("probot");
22
const app = require("./app");
33

4-
exports.probotApp = createNodeMiddleware(app, { probot: createProbot() });
4+
exports.probotApp = createNodeMiddleware(app, { probot: createProbot(), webhooksPath: "/" });

0 commit comments

Comments
 (0)