UNPKG

webappengine

Version:

A web application server that can host multiple web apps running with Node.js.

27 lines (24 loc) 555 B
import os from 'os'; import path from 'path'; const maxAge = 0; export default { assets: { // web web: { routes: [ '/' ], path: path.resolve(__dirname, '..', '..', 'web'), maxAge: maxAge } }, cluster: { // note. node-inspector cannot debug child (forked) process enable: false, maxWorkers: os.cpus().length || 1 }, winston: { // https://github.com/winstonjs/winston#logging-levels level: 'debug' } };