Skip to content

Instantly share code, notes, and snippets.

@felixge

felixge/app.js Secret

Created February 8, 2010 15:24
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 felixge/a03fba27c535da72f30f to your computer and use it in GitHub Desktop.
Save felixge/a03fba27c535da72f30f to your computer and use it in GitHub Desktop.
http.createServer(
(fab)
(middleware.json('callback'))
(middleware.paperboy('public'))
(require('app/comment').app)
('/admin')
(middleware.auth('admin', 'test', 'Admin Area'))
()
(fab)
).listen(config.poll.port);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment