Skip to content

Commit 571ade0

Browse files
committed
Passes the host information to the event listener.
1 parent 99d61f8 commit 571ade0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

github-webhook-handler.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ function create (options) {
7676
event : event
7777
, id : id
7878
, payload : obj
79+
, protocol: req.protocol
80+
, host : req.get('host')
7981
, url : req.url
8082
}
8183

0 commit comments

Comments
 (0)