lib/app.js
function configureApp(app, config) {
    app.set('query parser', 'simple');
    app.set('x-powered-by', false);
    if (thorin.env === 'production') {
      app.set('env', 'production');
    }
    app.set('views', undefined);
    app.set('view cache', false);
    if (config.trustProxy) {
      app.set('trust proxy', true);
    }
  }
function configureApp(app, config) {
    app.set('query parser', 'simple');
    app.set('x-powered-by', false);
    if (thorin.env === 'production') {
      app.set('env', 'production');
    }
    app.set('views', undefined);
    app.set('view cache', false);
    if (config.trustProxy) {
      app.set('trust proxy', true);
    }
  }
function configureApp ( app , config ) { app . set ( 'query parser' , 'simple' ) ; app . set ( 'x-powered-by' , false ) ; if ( thorin . env === 'production' ) { app . set ( 'env' , 'production' ) ; } app . set ( 'views' , undefined ) ; app . set ( 'view cache' , false ) ; if ( config . trustProxy ) { app . set ( 'trust proxy' , true ) ; } }
/*
Performs the basic configurations for the express app.
/ * Performs the basic configurations for the express app .