Rely on defaults (server-options) for routes configuration
This commit is contained in:
parent
23628a40d9
commit
e96ea32ea4
6
app.js
6
app.js
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user