Browse Source

Print config options on start #365

pull/1/head
rozetko 6 years ago
parent
commit
47efdddf58
  1. 3
      server/src/config.ts

3
server/src/config.ts

@ -55,8 +55,9 @@ function getConfigField(field: string, defaultVal?: any) {
if(defaultVal === undefined) {
throw new Error(`Please configure ${field}`);
}
return defaultVal;
val = defaultVal;
}
console.log(`${field}: ${val}`);
return val;
}

Loading…
Cancel
Save