compound
Version:
CompoundJS - MVC framework for NodeJS
14 lines (11 loc) • 368 B
JavaScript
var express = require('express');
module.exports = function (compound) {
var app = compound.app;
app.configure('test', function () {
app.enable('quiet');
app.enable('view cache');
app.enable('model cache');
app.enable('eval cache');
app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));
});
};