forked from santoshrajan/lispyscript
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
513c90d
commit 4ee62a2
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
(var http (require "http")) | ||
(var server | ||
(http.createServer | ||
(function (request response) | ||
(response.writeHead 200 {'Content-Type': 'text/plain'}) | ||
(response.end "Hello World\n")))) | ||
(server.listen 1337 "127.0.0.1") | ||
(console.log "Server running at http://127.0.0.1:1337/") |