Skip to content
This repository was archived by the owner on Dec 8, 2017. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion deploy/hookshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ if (!branch || !command || !port) {
process.exit(1);
}

hookshot('refs/heads/' + branch, command).listen(port);
// Passed through to bodyParser.json().
// https://www.npmjs.com/package/body-parser#limit
var json_options = { limit: 1 << 20 };

hookshot('refs/heads/' + branch, command, json_options).listen(port);

console.log("18F Hub: Listening on port " + port + " for push events on " + branch + ".")