Skip to content

Commit

Permalink
feat(hukk): replace default GET message
Browse files Browse the repository at this point in the history
Print a prettier default message of GET HTTP request.
  • Loading branch information
nampdn authored Nov 30, 2018
1 parent 4019569 commit aa75617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hukk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class Hukk {
});
});
} else {
res.end(JSON.stringify({message: "Hukk doesn't support GET method!"}));
res.end(JSON.stringify({message: `${process.env.APP_NAME || 'Hukk'} webhook server is working...`}));
}
}

Expand Down

0 comments on commit aa75617

Please sign in to comment.