'use strict';
const compression = require('compression');
const environment = require('../environment');
const express = require('express');

module.exports = app => {
  const configuration = environment.server;

  app.set('json spaces', configuration.server.jsonSpaces);
  app.use(express.static(configuration.server.webDir));
  app.use(compression());
};

@@ -245,23 +245,16 @@
 uration.
-server.
 jsonSpac
@@ -301,15 +301,8 @@
 ion.
-server.
 webD

fix error in express route response