Created
May 5, 2014 09:40
-
-
Save DanWahlin/12021b5d88bace5bbd1c to your computer and use it in GitHub Desktop.
Simple Node 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
| var connect = require('connect'); | |
| connect.createServer( | |
| connect.static(__dirname) | |
| ).listen(9000); | |
| console.log('Listening on port 9000'); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://tinyurl.com/SimpleNodeServer