app.js 242 B

1234567
  1. 'use strict';
  2. module.exports = app => {
  3. // if true, then don't need to wait at local development mode
  4. if (app.config.development.fastReady) process.nextTick(() => app.ready(true));
  5. app.config.coreMiddlewares.push('eggLoaderTrace');
  6. };