|
|
@ -123,7 +123,6 @@ var path = require('path'),
|
|
|
|
if (global.env !== 'development') {
|
|
|
|
if (global.env !== 'development') {
|
|
|
|
app.enable('cache');
|
|
|
|
app.enable('cache');
|
|
|
|
app.enable('minification');
|
|
|
|
app.enable('minification');
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Configure cache-buster timestamp
|
|
|
|
// Configure cache-buster timestamp
|
|
|
|
require('child_process').exec('git describe --tags', {
|
|
|
|
require('child_process').exec('git describe --tags', {
|
|
|
@ -141,6 +140,7 @@ var path = require('path'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Middlewares
|
|
|
|
// Middlewares
|
|
|
|
app.configure(function() {
|
|
|
|
app.configure(function() {
|
|
|
|