local.js
742 Bytes
var path = require('path');
var serviceDir = path.join(__dirname, '..');
exports = module.exports = function () {
return {
server: {
host: '0.0.0.0',
port: 3000,
env: 'development',
dir: path.join(serviceDir, 'public'),
engine: 'ejs',
publicPath: '/',
staticServerPath: path.join(serviceDir, 'public'),
cluster: false,
ssl: {
enabled: false,
options: {}
},
staticServer: {
maxAge: 24 * 60 * 60 * 1000
}
},
logger: {
console: true
},
output: {
}
};
};
exports['@singleton'] = true;