Skip to content

Instantly share code, notes, and snippets.

@andrewjmead
Last active December 27, 2015 19:59
Show Gist options
  • Save andrewjmead/7380917 to your computer and use it in GitHub Desktop.
Save andrewjmead/7380917 to your computer and use it in GitHub Desktop.
static express server
var express = require('express');
var app = express()
app.configure(function () {
app.use(express.static(__dirname + '/app'));
});
app.listen(3003, function () {
console.log('listening on port 3003');
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment