From 69bf9e3beda96a2832c9aa8c276100e7fa64a1b4 Mon Sep 17 00:00:00 2001 From: Djkato Date: Wed, 8 Feb 2023 18:29:27 +0100 Subject: [PATCH] yet another webhook change :) --- git_webhook.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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`) })