diff --git a/git_webhook.js b/git_webhook.js index 282b60e..eca1b4e 100644 --- a/git_webhook.js +++ b/git_webhook.js @@ -14,7 +14,9 @@ http.createServer(function (req, res) { } }) - res.end() + res.writeHead(200, { 'Content-Type': 'text/plain' }) + res.end('Hello World\n') + }).listen(5050, "127.0.0.1", () => { console.log(`Server is running on http://"127.0.0.1":5050`) })