feat(tools): add helper for testing webhooks locally
This commit is contained in:
committed by
mrugesh
parent
f25d035e9d
commit
d8e5f3ebc8
@ -80,10 +80,6 @@ app.start = _.once(function() {
|
||||
|
||||
module.exports = app;
|
||||
|
||||
// start the server if `$ node server.js`
|
||||
// in production use `$npm start-production`
|
||||
// or `$node server/production` to start the server
|
||||
// and wait for DB handshake
|
||||
if (require.main === module) {
|
||||
app.start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user