Skip to content

Instantly share code, notes, and snippets.

@Katee
Last active December 29, 2015 09:08
Show Gist options
  • Save Katee/7647782 to your computer and use it in GitHub Desktop.
Save Katee/7647782 to your computer and use it in GitHub Desktop.
app.configure(function(){
app.set('port', process.env.PORT || conf.port);
app.use(express.logger('dev'));
app.use(express.bodyParser());
app.use(express.cookieParser());
app.use(express.methodOverride());
app.use(app.router);
app.use(express.static('public'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment