Skip to content

Instantly share code, notes, and snippets.

@TerryMooreII
Created January 27, 2014 15:25
Show Gist options
  • Save TerryMooreII/8650437 to your computer and use it in GitHub Desktop.
Save TerryMooreII/8650437 to your computer and use it in GitHub Desktop.
Simple connect static server.
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