From 8337868b53897c85ee3383f54c3a758acb66a8d1 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 12 Mar 2024 16:46:59 +0000 Subject: [PATCH] update with node example script --- nodescripts/nodeexample.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 nodescripts/nodeexample.js diff --git a/nodescripts/nodeexample.js b/nodescripts/nodeexample.js new file mode 100644 index 0000000..19e76b5 --- /dev/null +++ b/nodescripts/nodeexample.js @@ -0,0 +1,6 @@ +var http = require('http'); + +http.createServer(function (req, res) { + res.writeHead(200, {'Content-Type': 'text/plain'}); + res.end('Hello World!'); +}).listen(8080);