Skip to content

Instantly share code, notes, and snippets.

@guiomie
Created March 11, 2012 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guiomie/2016768 to your computer and use it in GitHub Desktop.
Save guiomie/2016768 to your computer and use it in GitHub Desktop.
app.configure
app.configure(function(){
app.use(express.static(__dirname + '/public'));
app.use(express.bodyParser());
app.use(express.methodOverride());
app.use(express.cookieParser());
app.use(express.session({secret: cookieSecret}));
app.use(everyauth.middleware());
app.use(express.favicon());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment