module.exports = function (app) {
  // Default conf.
  app.conf.add({
    vhosts: {
      match: 'hostname',
      notFound: true
    }
  });

  // Depends on cantina-web.
  app.require('cantina-web');

  // Load stuff.
  app.load('plugins');
  app.load('middleware');
};
module.exports = function (app) {
  // Default conf.
  app.conf.add({
    vhosts: {
      match: 'hostname',
      middleware: true,
      notFound: true
    }
  });

  // Depends on cantina-web.
  app.require('cantina-web');

  // Load stuff.
  app.load('plugins');
  if (app.conf.get('vhosts:middleware')) {
    app.load('middleware');
  }
};
Allow middleware to be disabled.
Allow middleware to be disabled.
