Last active
December 30, 2022 18:21
-
-
Save modster/b45afad83b3330b36a1f16cac709b409 to your computer and use it in GitHub Desktop.
A Tiny Web Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require('http'); | |
http.createServer().on('request', (request, response) => { | |
response.end('smoll server'); | |
}).listen(8080); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment