Skip to content

Instantly share code, notes, and snippets.

@DanWahlin
Created May 5, 2014 09:40
Show Gist options
  • Save DanWahlin/12021b5d88bace5bbd1c to your computer and use it in GitHub Desktop.
Save DanWahlin/12021b5d88bace5bbd1c to your computer and use it in GitHub Desktop.
Simple Node Server
var connect = require('connect');
connect.createServer(
connect.static(__dirname)
).listen(9000);
console.log('Listening on port 9000');
@DanWahlin
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment