app.js 263 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 var flatiron = require('../../lib/flatiron'), app = flatiron.app; app.use(flatiron.plugins.http); app.use(flatiron.plugins.static, { root: __dirname }); app.router.get('/headers', function () { this.res.json(this.req.headers); }); module.exports = app;