Created
January 27, 2014 15:25
-
-
Save TerryMooreII/8650437 to your computer and use it in GitHub Desktop.
Simple connect static 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(8088); | |
console.log('Server started on port 8088'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment