Rely on defaults (server-options) for routes configuration

This commit is contained in:
Daniel García Aubert 2019-10-07 14:38:21 +02:00
parent 23628a40d9
commit e96ea32ea4

6
app.js
View File

@ -69,12 +69,6 @@ if (global.settings.log_filename) {
global.log4js.configure(log4jsConfig);
global.logger = global.log4js.getLogger();
if (!global.settings.routes) {
console.error('Missing environment paramenter "routes". Please review your configuration file.');
console.error("Available environments: " + availableEnvironments.join(', '));
process.exit(1);
}
const version = require("./package").version;
const StatsClient = require('./lib/stats/client');