app.js 263 Bytes

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;