Skip to content

Commit d00b28c

Browse files
committed
Mount probot handler to the root URL
1 parent 7cef61d commit d00b28c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createNodeMiddleware, createProbot } from 'probot'
22
import app from './app'
33
import * as functions from '@google-cloud/functions-framework'
44

5-
const middleware = createNodeMiddleware(app, { probot: createProbot() })
5+
const middleware = createNodeMiddleware(app, { probot: createProbot(), webhooksPath: '/' })
66
functions.http(
77
'probotApp',
88
async (req, res) => {

0 commit comments

Comments
 (0)