Skip to content

Instantly share code, notes, and snippets.

@jpwco
Created January 14, 2022 19:21
Show Gist options
  • Save jpwco/f1aca5f826aa9487a838eb5b0dfaa9bf to your computer and use it in GitHub Desktop.
Save jpwco/f1aca5f826aa9487a838eb5b0dfaa9bf to your computer and use it in GitHub Desktop.
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('Hello World!');
}).listen(8080);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment