Skip to content

Instantly share code, notes, and snippets.

@edwinestrada
Created July 19, 2015 22:04
Show Gist options
  • Save edwinestrada/6f5cc8add949d5974ded to your computer and use it in GitHub Desktop.
Save edwinestrada/6f5cc8add949d5974ded to your computer and use it in GitHub Desktop.
Express - Static File Server
var express = require('express'),
app = express();
app.use(express.static('./'));
app.listen(1337);
console.log('Listening on port ' + 1337 + '...');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment